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 4c22264 commit f7ae3e5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,17 @@ jobs:
mode:
{
name: minimal,
args: -Dminimal=true -Dencoder=enabled -Davx512=enabled -Dknc=enabled -Dsegment=enabled -Dtests=enabled,
args: -Dminimal=enabled -Dencoder=enabled -Davx512=enabled -Dknc=enabled -Dsegment=enabled -Dtests=enabled,
}
extra_envs: {}
flavor: minsize
- platform: windows-2022
mode: { name: ClangCL, args: -Dtests=enabled }
extra_envs: { CC: clang-cl }
flavor: release
exclude:
- platform: macos-latest
mode: { name: NO_LIBC, args: -Dnolibc=true }

steps:
- name: Setup meson
Expand All @@ -93,6 +96,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with: { submodules: recursive }
- name: Activate MSVC
if: ${{ matrix.platform == 'windows-2022' }}
shell: powershell
run: |
$VCPATH = vswhere -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath -latest
& $VCPATH\VC\Auxiliary\Build\vcvars64.bat
- name: Configuring
env: ${{ matrix.extra_envs }}
run: |
Expand Down

0 comments on commit f7ae3e5

Please sign in to comment.