Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HeatXD authored Oct 23, 2024
1 parent 4fe72ec commit 49b1d28
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,25 @@ jobs:
- name: Create build directory
run: cmake -E make_directory build

- name: Configure CMake
- name: Configure CMake (Windows)
if: matrix.os == 'windows-latest'
shell: cmd
run: >-
cmake -B build
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=${{ matrix.build_type == 'shared' && 'ON' || 'OFF' }}
-DNO_ASIO_BUILD=${{ matrix.asio == 'no_asio' && 'ON' || 'OFF' }}
.
- name: Configure CMake (Unix)
if: matrix.os != 'windows-latest'
shell: bash
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=${{ matrix.build_type == 'shared' && 'ON' || 'OFF' }} \
-DNO_ASIO_BUILD=${{ matrix.asio == 'no_asio' && 'ON' || 'OFF' }}
-DNO_ASIO_BUILD=${{ matrix.asio == 'no_asio' && 'ON' || 'OFF' }} \
.
- name: Build
run: cmake --build build --config Release
Expand Down

0 comments on commit 49b1d28

Please sign in to comment.