You could bridge them together if all hosts are in the same subnet if not then yes you would have to have routing.
If they are seperate subnets then create two VLAN interfaces, address them and you should be good to go as you will have a routing table via connected interfaces, just insure you have routing enabled with the global command "ip routing" as this is disabled by default.
This link will provide every possible combination.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...