Skip to content

Commit 726c896

Browse files
authored
Update meson.yml
Add multilple OSes
1 parent 4c86426 commit 726c896

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/meson.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,23 @@ on: [push]
44

55
jobs:
66
publish:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
9+
strategy:
10+
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
11+
fail-fast: false
12+
13+
# Set up a matrix to run the following 3 configurations:
14+
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
15+
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
16+
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
17+
#
18+
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
19+
matrix:
20+
os: [ubuntu-latest, windows-latest, macos-latest]
21+
#build_type: [Release]
22+
#c_compiler: [gcc, clang, cl]
23+
824
steps:
925
- name: checkout repository
1026
uses: actions/checkout@v4

0 commit comments

Comments
 (0)