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.pull/7021/head
parent
1480fdfa9a
commit
36600d7465
3 changed files with 29 additions and 5 deletions
@ -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' |
Loading…
Reference in new issue