|
@@ -632,11 +632,43 @@ jobs:
|
|
|
|
|
|
- name: Test
|
|
|
if: success() && !(matrix.SAUCE && matrix.SAUCE_ACCESS_KEY)
|
|
|
- run: earthly +test-all
|
|
|
+ run: earthly --platform=linux/amd64 +test-all
|
|
|
|
|
|
- name: Test (with SauceLabs)
|
|
|
if: success() && matrix.SAUCE && matrix.SAUCE_ACCESS_KEY
|
|
|
- run: earthly +test --TEST=js
|
|
|
+ run: earthly --platform=linux/amd64 +test --TEST=js
|
|
|
+ env:
|
|
|
+ SAUCE_ACCESS_KEY: matrix.SAUCE_ACCESS_KEY
|
|
|
+
|
|
|
+ linux-arm64-test:
|
|
|
+ needs: linux-arm64-build
|
|
|
+ runs-on: ubuntu-20.04
|
|
|
+ env:
|
|
|
+ HXCPP_COMPILE_CACHE: ~/hxcache
|
|
|
+ strategy:
|
|
|
+ fail-fast: false
|
|
|
+ steps:
|
|
|
+ - uses: actions/checkout@main
|
|
|
+ with:
|
|
|
+ submodules: recursive
|
|
|
+
|
|
|
+ - name: Set up QEMU
|
|
|
+ id: qemu
|
|
|
+ uses: docker/setup-qemu-action@v1
|
|
|
+ with:
|
|
|
+ image: tonistiigi/binfmt:latest
|
|
|
+ platforms: all
|
|
|
+
|
|
|
+ - name: Install Earthly
|
|
|
+ run: sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly && /usr/local/bin/earthly bootstrap --with-autocomplete'\
|
|
|
+
|
|
|
+ - name: Test
|
|
|
+ if: success() && !(matrix.SAUCE && matrix.SAUCE_ACCESS_KEY)
|
|
|
+ run: earthly --platform=linux/arm64 +test-all
|
|
|
+
|
|
|
+ - name: Test (with SauceLabs)
|
|
|
+ if: success() && matrix.SAUCE && matrix.SAUCE_ACCESS_KEY
|
|
|
+ run: earthly --platform=linux/arm64 +test --TEST=js
|
|
|
env:
|
|
|
SAUCE_ACCESS_KEY: matrix.SAUCE_ACCESS_KEY
|
|
|
|
|
@@ -727,7 +759,7 @@ jobs:
|
|
|
|
|
|
deploy:
|
|
|
if: github.event_name != 'pull_request'
|
|
|
- needs: [linux-test, mac-test, windows-test, windows64-test]
|
|
|
+ needs: [linux-test, linux-arm64-test, mac-test, windows-test, windows64-test]
|
|
|
runs-on: ubuntu-20.04
|
|
|
steps:
|
|
|
# this is only needed for to get `COMMIT_DATE`...
|