diff options
author | Josh Soref <2119212+jsoref@users.noreply.github.com> | 2023-04-10 23:52:29 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-04-11 19:21:05 -0400 |
commit | bb698bcbd833a83e1283b5a6d04170c93fa471b2 (patch) | |
tree | 88f5fe08302438947a1e8015aef15b757bdca70d /.github/workflows/nonnative.yml | |
parent | 01016fc554efe0bfc59bf24d672653f5fe031b60 (diff) | |
download | meson-bb698bcbd833a83e1283b5a6d04170c93fa471b2.zip meson-bb698bcbd833a83e1283b5a6d04170c93fa471b2.tar.gz meson-bb698bcbd833a83e1283b5a6d04170c93fa471b2.tar.bz2 |
ci: rename workflow
Found by https://www.check-spelling.dev/
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Diffstat (limited to '.github/workflows/nonnative.yml')
-rw-r--r-- | .github/workflows/nonnative.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.github/workflows/nonnative.yml b/.github/workflows/nonnative.yml new file mode 100644 index 0000000..2848fe6 --- /dev/null +++ b/.github/workflows/nonnative.yml @@ -0,0 +1,44 @@ +name: Cross-only compilation environment + +concurrency: + group: nonnative-${{ github.head_ref || github.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/nonnative.yml" + - "run*tests.py" + pull_request: + paths: + - "mesonbuild/**" + - "test cases/**" + - ".github/workflows/nonnative.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@v3 + - 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" |