Skip to content

Commit

Permalink
separate configure steps for arch
Browse files Browse the repository at this point in the history
  • Loading branch information
himwho committed Jul 30, 2024
1 parent 0e5a44c commit 2d34eb7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ jobs:
- name: Create Build Environment
run: cmake -E make_directory ${{ runner.workspace }}/build

- name: Configure CMake
- name: Configure CMake (macos)
if: runner.os == 'MacOS'
working-directory: ${{ github.workspace }}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE

- name: Configure CMake (windows)
if: runner.os == 'Windows'
shell: bash
working-directory: ${{ runner.workspace }}/build
run: cmake $GITHUB_WORKSPACE -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE
Expand Down

0 comments on commit 2d34eb7

Please sign in to comment.