Skip to content

Commit

Permalink
fixup! ci: add meson support
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Sep 19, 2024
1 parent f7ae3e5 commit 72df9d2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with: { submodules: recursive }
- name: Activate MSVC
- name: Activate MSVC and Configure
if: ${{ matrix.platform == 'windows-2022' }}
shell: powershell
env: ${{ matrix.extra_envs }}
run: |
$VCPATH = vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -latest
& $VCPATH\VC\Auxiliary\Build\vcvars64.bat
meson setup build-${{ matrix.flavor }} ${{ matrix.mode.args }} --vsenv
- name: Configuring
env: ${{ matrix.extra_envs }}
if: ${{ matrix.platform != 'windows-2022' }}
run: |
meson setup build-${{ matrix.flavor }} ${{ matrix.mode.args }}
- name: Building
Expand Down

0 comments on commit 72df9d2

Please sign in to comment.