aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-01-15 16:01:40 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-01-23 20:57:17 +0100
commitbc27ebacc92fe0bc69bf6763533aca70850db02e (patch)
tree5aaaa61352440ed71b14620e87e30c8ba1daa00a /.github
parenta11a28a98849e857c60a35e5cdecfc3a6ee49105 (diff)
downloadmeson-bc27ebacc92fe0bc69bf6763533aca70850db02e.zip
meson-bc27ebacc92fe0bc69bf6763533aca70850db02e.tar.gz
meson-bc27ebacc92fe0bc69bf6763533aca70850db02e.tar.bz2
cmake: Always Add C, CXX if no language is specified (fixes #6441)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/unusedargs_missingreturn.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/unusedargs_missingreturn.yml b/.github/workflows/unusedargs_missingreturn.yml
index c190af0..fa4405b 100644
--- a/.github/workflows/unusedargs_missingreturn.yml
+++ b/.github/workflows/unusedargs_missingreturn.yml
@@ -43,6 +43,7 @@ jobs:
sudo apt install -yq --no-install-recommends g++ gfortran ninja-build gobjc gobjc++
- run: python run_project_tests.py --only cmake common fortran platform-linux "objective c" "objective c++"
env:
+ CI: "1"
CFLAGS: "-Werror=unused-parameter -Werror=return-type -Werror=strict-prototypes"
CPPFLAGS: "-Werror=unused-parameter -Werror=return-type"
FFLAGS: "-fimplicit-none"
@@ -54,9 +55,10 @@ jobs:
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- - run: pip install ninja
+ - run: pip install ninja pefile
- run: python run_project_tests.py --only platform-windows
env:
+ CI: "1"
CFLAGS: "-Werror=unused-parameter -Werror=return-type -Werror=strict-prototypes"
CPPFLAGS: "-Werror=unused-parameter -Werror=return-type"
FFLAGS: "-fimplicit-none"