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 5e41fd2 commit 1321483
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
name: >-
CMake build + tests (${{ matrix.image_name }} ${{ matrix.cmake_flags }})
runs-on: ${{ matrix.image_name }}

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -57,28 +56,35 @@ jobs:
name: >-
Meson build + tests (${{ matrix.platform }}, ${{ matrix.flavor }} ${{ matrix.mode.name }})
runs-on: ${{ matrix.platform }}

strategy:
fail-fast: false
matrix:
flavor:
- debug
- release
mode:
- { name: default, args: -Dtests=enabled }
- { name: default, args: -Dtests=enabled }
- { name: NO_LIBC, args: -Dnolibc=true }
platform:
- macos-latest
- windows-2022
- ubuntu-22.04
extra_envs:
extra_envs:
- {}
include:
# Do a few more specialized configurations.
- platform: ubuntu-22.04
mode: { name: minimal, args: -Dminimal=true -Dencoder=enabled -Davx512=enabled -Dknc=enabled -Dsegment=enabled -Dtests=enabled }
mode:
{
name: minimal,
args: -Dminimal=true -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

steps:
- name: Setup meson
Expand Down Expand Up @@ -107,7 +113,7 @@ jobs:
with: { submodules: recursive }
- name: Add msbuild to PATH
uses: microsoft/[email protected]
with: { vs-version: '[17,]' }
with: { vs-version: "[17,]" }
- name: Build user-mode
run: |
cd msvc
Expand Down

0 comments on commit 1321483

Please sign in to comment.