From bb698bcbd833a83e1283b5a6d04170c93fa471b2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 10 Apr 2023 23:52:29 -0400 Subject: ci: rename workflow Found by https://www.check-spelling.dev/ Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .github/workflows/nonnative.yml | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/nonnative.yml (limited to '.github/workflows/nonnative.yml') diff --git a/.github/workflows/nonnative.yml b/.github/workflows/nonnative.yml new file mode 100644 index 000000000..2848fe66b --- /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" -- cgit v1.2.3