Fixes warnings on Windows #728
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: meson CI | |
on: | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update system | |
run: sudo apt-get update || true | |
- name: Install check manually | |
run: sudo apt-get install check | |
- uses: actions/checkout@v2 | |
- name: Install meson | |
run: python -m pip install meson==0.53.2 | |
- name: Install ninja | |
run: python -m pip install ninja==1.9.0.post1 | |
- name: Install glib-2.0 | |
run: sudo apt-get install libglib2.0-dev | |
- name: Setup meson using threaded plugin | |
run: meson -Ddebugprints=false -Dbuildtype=debug -Dsigningplugin=threaded . build_lib | |
- name: Compile and run tests | |
run: ninja -C build_lib test | |
- name: Setup meson | |
run: meson -Dbuildtype=debug -Dsigningplugin=unthreaded --reconfigure . build_lib | |
- name: Compile and run tests | |
run: ninja -C build_lib test | |
- name: Install valgrind manually | |
run: sudo apt-get install valgrind | |
- name: Run valgrind on unittest_common | |
run: CK_FORK=no valgrind $GITHUB_WORKSPACE/build_lib/tests/check/unittest_common | |
- name: Run valgrind on unittest_sign | |
run: CK_FORK=no valgrind $GITHUB_WORKSPACE/build_lib/tests/check/unittest_sign | |
- name: Run valgrind on unittest_auth | |
run: CK_FORK=no valgrind $GITHUB_WORKSPACE/build_lib/tests/check/unittest_auth |