The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
name: Cross-only compilation environment |
|
|
|
concurrency: |
|
group: nonative-${{ github.head_ref }} |
|
cancel-in-progress: true |
|
|
|
on: |
|
push: |
|
branches: |
|
- master |
|
# Stable branches such as 0.56 or the eventual 1.0 |
|
- '[0-9]+.[0-9]+' |
|
paths: |
|
- "mesonbuild/**" |
|
- "test cases/**" |
|
- ".github/workflows/nonative.yml" |
|
- "run*tests.py" |
|
pull_request: |
|
paths: |
|
- "mesonbuild/**" |
|
- "test cases/**" |
|
- ".github/workflows/nonative.yml" |
|
- "run*tests.py" |
|
|
|
permissions: |
|
contents: read |
|
|
|
jobs: |
|
cross-only-armhf: |
|
runs-on: ubuntu-latest |
|
container: mesonbuild/eoan:latest |
|
env: |
|
MESON_CI_JOBNAME: ubuntu-${{ github.job }} |
|
|
|
steps: |
|
- run: | |
|
apt-get -y purge clang gcc gdc |
|
apt-get -y autoremove |
|
python3 -m pip install coverage codecov |
|
- uses: actions/checkout@v2 |
|
- name: Run tests |
|
run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS --cross ubuntu-armhf.json --cross-only' |
|
- name: Upload coverage report |
|
run: ./ci/upload_cov.sh "Ubuntu nonnative"
|
|
|