Skip to content

Commit

Permalink
Github CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
CJLove committed Feb 4, 2024
1 parent 7ab9f68 commit aaf0f84
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,43 +54,3 @@ jobs:
-DBUILD_TESTS=ON
make -j2
ctest -j2 --output-on-failure
build_osx:
runs-on: macOS-latest
name: "OS X Clang (C++14, Release)"
steps:
- uses: actions/checkout@v3
- name: Build
run: |
mkdir -p build && cd build
cmake .. \
-DCMAKE_PREFIX_PATH=/usr/local/lib/cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=14 \
-DFMT_SUPPORT=ON \
-DBUILD_EXAMPLES=ON \
-DBUILD_TESTS=ON
make -j2
ctest -j2 --output-on-failure
build_windows:
runs-on: windows-latest
name: "Windows VS2022 (C++14, Release)"
steps:
- uses: actions/checkout@v3
- uses: ilammy/msvc-dev-cmd@v1
- name: Print env
run: |
echo github.event.action: ${{ github.event.action }}
echo github.event_name: ${{ github.event_name }}
- name: Install dependencies on windows
run: |
choco install ninja cmake
ninja --version
cmake --version
- name: Build
run: |
mkdir build
cd build
cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -DFMT_SUPPORT=OFF -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON
ninja

0 comments on commit aaf0f84

Please sign in to comment.