From 46b30b9826cea45f9e68b6d717c48f3291ce0b0c Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 24 Sep 2022 22:00:22 +0200 Subject: [PATCH] split cross compilation into three parts The cross compilation tasks are currently the slowest part of the CI runs. Splitting it into three parts should reduce its time to roughly that of the windows CI run. --- .github/workflows/tests.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ced4341a5..bbd0e5d49 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -209,15 +209,16 @@ jobs: # ATTENTION: the list of architectures must be in sync with helpers/build-release-binaries/main.go! matrix: - # run cross-compile in two batches parallel so the overall tests run faster + # run cross-compile in three batches parallel so the overall tests run faster targets: - - "linux/386 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le linux/s390x \ - openbsd/386 openbsd/amd64" + - "linux/386 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le linux/s390x" - - "freebsd/386 freebsd/amd64 freebsd/arm \ + - "openbsd/386 openbsd/amd64 \ + freebsd/386 freebsd/amd64 freebsd/arm \ aix/ppc64 \ - darwin/amd64 darwin/arm64 \ - netbsd/386 netbsd/amd64 \ + darwin/amd64 darwin/arm64" + + - "netbsd/386 netbsd/amd64 \ windows/386 windows/amd64 \ solaris/amd64"