diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-09-08 19:27:20 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-09-10 07:20:41 +0000 |
commit | 36600d7465e854c6f3d7fc824a7fa5d4415a6292 (patch) | |
tree | 3b9db2b28deea970946bb4747d932b78cd5ef654 /.github | |
parent | 1480fdfa9a2cfebe2399c930d2966a3ad5aa0d82 (diff) | |
download | meson-36600d7465e854c6f3d7fc824a7fa5d4415a6292.zip meson-36600d7465e854c6f3d7fc824a7fa5d4415a6292.tar.gz meson-36600d7465e854c6f3d7fc824a7fa5d4415a6292.tar.bz2 |
Add a test run in an environment which only has a cross compiler
Add '--cross-only' option to run_tests.py, so we can arrange not to run
tests in the 'native' suite when only a cross-compiler is available, as
they can't succeed.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/nonative.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/nonative.yml b/.github/workflows/nonative.yml new file mode 100644 index 0000000..59386c5 --- /dev/null +++ b/.github/workflows/nonative.yml @@ -0,0 +1,19 @@ +name: Cross-only compilation environment + +on: + push: + branches: + - master + pull_request: + +jobs: + cross-only-armhf: + runs-on: ubuntu-latest + container: mesonbuild/eoan:latest + steps: + - run: | + apt-get -y purge clang gcc gdc + apt-get -y autoremove + - uses: actions/checkout@v2 + - name: Run tests + run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./run_tests.py $CI_ARGS --cross ubuntu-armhf.txt --cross-only' |