Skip to content

Commit

Permalink
combined configure steps
Browse files Browse the repository at this point in the history
  • Loading branch information
himwho committed Jul 30, 2024
1 parent e708310 commit 0e5a44c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,9 @@ jobs:
fetch-depth: 1

- name: Create Build Environment
run: cmake -E make_directory ${{ github.workspace }}/build
run: cmake -E make_directory ${{ runner.workspace }}/build

- 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'
- name: Configure CMake
shell: bash
working-directory: ${{ runner.workspace }}/build
run: cmake $GITHUB_WORKSPACE -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE
Expand Down

0 comments on commit 0e5a44c

Please sign in to comment.