Skip to content

Commit

Permalink
ci: added macos to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jfayot committed Nov 25, 2024
1 parent d26b1a1 commit 8e2ec28
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Release]
c_compiler: [gcc, clang, cl]
include:
Expand All @@ -36,13 +36,20 @@ jobs:
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++
exclude:
- os: windows-latest
c_compiler: gcc
- os: windows-latest
c_compiler: clang
- os: ubuntu-latest
c_compiler: cl
- os: macos-latest
c_compiler: gcc
- os: macos-latest
c_compiler: cl

steps:
- uses: actions/checkout@v4
Expand All @@ -53,7 +60,7 @@ jobs:
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Install dependencies on Windows
if: runner.os == 'Windows'
run: |
Expand Down
2 changes: 1 addition & 1 deletion package-lock.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CPMDeclarePackage(OpenSSL
OPTIONS
"OPENSSL_TEST OFF"
"OPENSSL_TARGET_VERSION 3.4.0"
"OPENSSL_INSTALL ON"
EXCLUDE_FROM_ALL YES
)

CPMDeclarePackage(asio
Expand Down

0 comments on commit 8e2ec28

Please sign in to comment.