mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 02:57:46 +00:00
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.
This commit is contained in:
committed by
Ron Evans
parent
2081380b5c
commit
22c35c8e31
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user