Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolm authored Nov 9, 2023
1 parent be11bc8 commit d04df14
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake ${{github.workspace}}/tests -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake ${{github.workspace}}/tests/

- name: Build
run: cmake --build ${{github.workspace}}/tests --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/tests/

- name: Test
working-directory: ${{github.workspace}}/tests
working-directory: ${{github.workspace}}/tests/
run: ./tests/test

build-macos:
Expand All @@ -32,13 +32,13 @@ jobs:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake ${{github.workspace}}/tests -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake ${{github.workspace}}/tests/

- name: Build
run: cmake --build ${{github.workspace}}/tests --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/tests/

- name: Test
working-directory: ${{github.workspace}}/tests
working-directory: ${{github.workspace}}/tests/
run: ./tests/test

build-windows:
Expand All @@ -49,11 +49,11 @@ jobs:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/tests/

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/tests/

- name: Test
working-directory: ${{github.workspace}}/build
run: ./tests/${{env.BUILD_TYPE}}/test
working-directory: ${{github.workspace}}/tests
run: ./tests/test

0 comments on commit d04df14

Please sign in to comment.