Skip to content

Commit

Permalink
github CI: test clang-cl as well for meson
Browse files Browse the repository at this point in the history
Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Aug 8, 2023
1 parent 0831c81 commit e1c94a1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/on_PR_meson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,29 @@ jobs:
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Dwarning_level=3 -Dcpp_std=c++latest
meson compile -C "${{github.workspace}}/build" --verbose
meson test -C "${{github.workspace}}/build" --verbose
VisualStudio-clang-cl:
runs-on: windows-latest
name: clang-cl-${{matrix.deps}}
strategy:
matrix:
deps: ['forcefallback', 'default']
steps:
- uses: actions/checkout@v3

- name: Install packages
run: |
python -m pip install meson ninja
- uses: ilammy/msvc-dev-cmd@v1

- name: Compile and Test
env:
CC: clang-cl
CXX: clang-cl
run: |
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Dwarning_level=3 -Dcpp_std=c++latest
meson compile -C "${{github.workspace}}/build" --verbose
meson test -C "${{github.workspace}}/build" --verbose
MSYS2:
runs-on: windows-latest
name: MSYS2-${{matrix.platform}}-deps=${{matrix.deps}}
Expand Down

0 comments on commit e1c94a1

Please sign in to comment.