diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-12-01 00:19:44 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-12-04 10:59:40 +0200 |
commit | acee448fb9b49817cadf6de9c0e09f279515bf9d (patch) | |
tree | 0e6c32e4d6ef53e7e478cf54f1d18292023798b9 /.github | |
parent | 7d162487e37e5bf51c94bdbd753a2f928287e655 (diff) | |
download | meson-acee448fb9b49817cadf6de9c0e09f279515bf9d.zip meson-acee448fb9b49817cadf6de9c0e09f279515bf9d.tar.gz meson-acee448fb9b49817cadf6de9c0e09f279515bf9d.tar.bz2 |
ci/test: unused args for Windows
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/unusedargs_missingreturn.yml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/.github/workflows/unusedargs_missingreturn.yml b/.github/workflows/unusedargs_missingreturn.yml index a75a6d5..6c373b9 100644 --- a/.github/workflows/unusedargs_missingreturn.yml +++ b/.github/workflows/unusedargs_missingreturn.yml @@ -12,14 +12,17 @@ on: - "test cases/cmake/**" - "test cases/common/**" - "test cases/fortran/**" - - "test cases/platform-linux/**" + - "test cases/linuxlike/**" + - "test caes/windows/**" + pull_request: paths: - ".github/workflows/unusedargs_missingreturn.yml" - "test cases/cmake/**" - "test cases/common/**" - "test cases/fortran/**" - - "test cases/platform-linux/**" + - "test cases/linuxlike/**" + - "test caes/windows/**" jobs: @@ -39,3 +42,20 @@ jobs: CFLAGS: "-Werror=unused-parameter -Werror=return-type -Werror=strict-prototypes" CPPFLAGS: "-Werror=unused-parameter -Werror=return-type" FFLAGS: "-fimplicit-none" + + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v1 + - uses: actions/setup-python@v1 + with: + python-version: '3.x' + - run: pip install ninja + - run: python run_project_tests.py --only platform-windows + env: + CFLAGS: "-Werror=unused-parameter -Werror=return-type -Werror=strict-prototypes" + CPPFLAGS: "-Werror=unused-parameter -Werror=return-type" + FFLAGS: "-fimplicit-none" + CC: gcc + CXX: g++ + FC: gfortran |