summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2021-06-10 20:34:24 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2021-07-13 15:18:32 +0100
commit24135c8c8e8980bebb58b592d38f1a4f1be81c50 (patch)
tree083f7e649427d1623ef5deaaf06ab2e1798e9914 /.github
parenta10b0c93eb5d32ab8ba1301c26bde2d98b556a29 (diff)
downloadmeson-24135c8c8e8980bebb58b592d38f1a4f1be81c50.tar.gz
Set MESON_CI_JOBNAME for all CI jobs
Set MESON_CI_JOBNAME for all CI jobs which run project tests. (Note that ${{ github.job }} is the literal job.id used in the yaml, not any name given to the job with job.id.name, and so is the same for all matrix entries, and thus not suitable for our purposes there).
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cygwin.yml2
-rw-r--r--.github/workflows/macos.yml12
-rw-r--r--.github/workflows/msys2.yml2
-rw-r--r--.github/workflows/nonative.yml3
-rw-r--r--.github/workflows/unusedargs_missingreturn.yml3
5 files changed, 21 insertions, 1 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml
index 39540941c..f86b40429 100644
--- a/.github/workflows/cygwin.yml
+++ b/.github/workflows/cygwin.yml
@@ -24,6 +24,8 @@ jobs:
include:
- NAME: gccx64ninja
ARCH: x86_64
+ env:
+ MESON_CI_JOBNAME: cygwin-${{ matrix.NAME }}
steps:
# cache should be saved on failure, but the action doesn't support that
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index c7ef7d3bf..df303717a 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -43,8 +43,18 @@ jobs:
project-tests-appleclang:
runs-on: macos-latest
strategy:
+ fail-fast: false
matrix:
- unity: ["on", "off"]
+ include:
+ - NAME: macos-clang
+ unity: off
+ - NAME: macos-clang-unity
+ unity: on
+
+ name: ${{ matrix.NAME }}
+ env:
+ MESON_CI_JOBNAME: ${{ matrix.NAME }}
+
steps:
- uses: actions/checkout@v2
# use python3 from homebrew because it is a valid framework, unlike the actions one:
diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml
index 64a09792b..4a35b0a64 100644
--- a/.github/workflows/msys2.yml
+++ b/.github/workflows/msys2.yml
@@ -40,6 +40,8 @@ jobs:
MSYS2_CURSES:
COMPILER: clang
TOOLCHAIN: clang
+ env:
+ MESON_CI_JOBNAME: msys2-${{ matrix.NAME }}
defaults:
run:
diff --git a/.github/workflows/nonative.yml b/.github/workflows/nonative.yml
index c4bad9531..d6bdfa6de 100644
--- a/.github/workflows/nonative.yml
+++ b/.github/workflows/nonative.yml
@@ -22,6 +22,9 @@ 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
diff --git a/.github/workflows/unusedargs_missingreturn.yml b/.github/workflows/unusedargs_missingreturn.yml
index 8e6e42de1..7b4379bf3 100644
--- a/.github/workflows/unusedargs_missingreturn.yml
+++ b/.github/workflows/unusedargs_missingreturn.yml
@@ -47,6 +47,8 @@ jobs:
sudo apt install -yq --no-install-recommends g++ gfortran ninja-build gobjc gobjc++
python -m pip install coverage codecov
- run: ./tools/run_with_cov.py run_project_tests.py --only cmake common fortran platform-linux "objective c" "objective c++"
+ env:
+ MESON_CI_JOBNAME: linux-ubuntu-gcc-werror
- name: Upload coverage report
run: ./ci/upload_cov.sh "UnusedMissingReturn"
@@ -65,6 +67,7 @@ jobs:
CC: gcc
CXX: g++
FC: gfortran
+ MESON_CI_JOBNAME: msys2-gcc-werror
- name: Upload coverage report
run: ./ci/upload_cov.sh "UnusedMissingReturn Windows"