I'm need help w/ CPU and motherboard

Feb 4, 2019
2
0
10
I have a CPU Intel core I7 8086K but I have a different compatible motherboard ASRock Z370 for Intel core I7 8700K and if I install both of them into a piece w/ all the accessories (ex: GPU, PSU, etc you named it), would it run properly?