Skip to content

Commit

Permalink
Add Windows-2022 and MacOS 14 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Werni2A committed Jun 29, 2024
1 parent 59627bd commit 80ec28f
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: [push]

jobs:

build:
runs-on: ubuntu-latest
build-ubuntu:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up vcpkg
Expand Down Expand Up @@ -35,4 +35,37 @@ jobs:
- name: Run Tests
run: |
python3 run_tests.py
python3 run_tests.py
build-macos:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Set up vcpkg
run: |
brew install cmake git
git clone https://github.com/microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.sh
- name: Build Library, CLI Application and Tests
run: |
export VCPKG_ROOT=$(realpath ./vcpkg)
cmake --preset release -DENABLE_UNIT_TESTING=OFF
cmake --build --preset release -j $(nproc)
build-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Set up vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
- name: Build Library, CLI Application and Tests
run: |
${ENV:VCPKG_ROOT}=$(Resolve-Path ./vcpkg)
cmake --preset release -DENABLE_UNIT_TESTING=OFF
cmake --build --preset release

0 comments on commit 80ec28f

Please sign in to comment.