From 22c35c8e313d4f6d3f70066d8711ff88a9bb3dd9 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Tue, 16 Nov 2021 19:59:13 +0100 Subject: ci: move all cross compilation tests to Linux The idea here is as follows: - Run all Linux and cross compilation tests in the asser-test-linux job. - Only run native tests on MacOS and Windows. This reduces testing time on MacOS and Windows, which are generally more expensive in CI. Also, by not duplicating tests in Windows and MacOS we can reduce overall CI usage a bit. I've also changed the assert-test-linux job a bit to so that the tests that are more likely to break and the tests that are only run in assert-test-linux are run first. --- .github/workflows/windows.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b4014128e..4bc07d59d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -15,11 +15,6 @@ jobs: uses: actions/setup-go@v2 with: go-version: '1.17' - - name: Install QEMU - shell: bash - run: | - choco install qemu --version=2020.06.12 - echo "C:\Program Files\QEMU" >> $GITHUB_PATH - name: Install Ninja shell: bash run: | @@ -78,7 +73,7 @@ jobs: run: make binaryen - name: Test TinyGo shell: bash - run: make test + run: make test GOTESTFLAGS="-v -short" - name: Build TinyGo release tarball run: make build/release -j4 - name: Make release artifact -- cgit v1.2.3