From 70345f2417e25aacbdd1f0d8f0a7812bd7390aba Mon Sep 17 00:00:00 2001 From: Serge Lamikhov-Center Date: Wed, 13 Dec 2023 19:20:31 +0200 Subject: [PATCH] Add Mac builds --- .github/workflows/c-cpp.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 929481c..2451da4 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest, ubuntu-20.04, windows-latest] + os: [ubuntu-latest, ubuntu-20.04, windows-latest, macos-latest] build_type: [Release, Debug] cpp_compiler: [g++, clang++, cl] include: @@ -32,6 +32,12 @@ jobs: - os: ubuntu-20.04 cpp_compiler: clang++ c_compiler: clang + - os: macos-latest + cpp_compiler: g++ + c_compiler: gcc + - os: macos-latest + cpp_compiler: clang++ + c_compiler: clang exclude: - os: windows-latest cpp_compiler: g++ @@ -41,6 +47,8 @@ jobs: cpp_compiler: cl - os: ubuntu-20.04 cpp_compiler: cl + - os: macos-latest + cpp_compiler: cl steps: - uses: actions/checkout@v3