Skip to content

Commit

Permalink
CI: build prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
ohhmm committed Apr 5, 2024
1 parent 82d008a commit 0b4aa54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ jobs:
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-S ${{ github.workspace }}
- name: Build prerequisites
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release --target prerequisites

- name: Re-Configure CMake to detect built prerequisites
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
- name: Build
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
Expand Down

0 comments on commit 0b4aa54

Please sign in to comment.