Update meson.yml

Add multilple OSes
This commit is contained in:
Jordan Bayles 2024-09-09 16:33:38 -07:00 committed by GitHub
parent 4c8642616a
commit 726c896882
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,23 @@ on: [push]
jobs:
publish:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
# 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.
fail-fast: false
# Set up a matrix to run the following 3 configurations:
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
#build_type: [Release]
#c_compiler: [gcc, clang, cl]
steps:
- name: checkout repository
uses: actions/checkout@v4