Skip to content

Commit

Permalink
try to fix multi-platform issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kkli08 committed Sep 2, 2024
1 parent ec0f5b9 commit 5044b4c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- os: ubuntu-latest
c_compiler: cl
- os: macos-latest
c_compiler: cl
c_compiler: cl # Remove cl compiler from macOS

steps:
- uses: actions/checkout@v4
Expand All @@ -67,12 +67,16 @@ jobs:
if: runner.os == 'Windows'
run: dir ${{ steps.strings.outputs.build-output-dir }}

- name: List files in Release directory (Windows)
if: runner.os == 'Windows'
run: dir ${{ steps.strings.outputs.build-output-dir }}\Release

- name: Run Tests on Linux and macOS
if: runner.os != 'Windows'
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: ./runTests

- name: Run Tests on Windows
if: runner.os == 'Windows'
working-directory: ${{ steps.strings.outputs.build-output-dir }}
working-directory: ${{ steps.strings.outputs.build-output-dir }}\Release
run: .\runTests.exe

0 comments on commit 5044b4c

Please sign in to comment.