Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dabrahams committed Feb 12, 2024
1 parent d62e130 commit 2028d6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,15 @@ jobs:

- name: Xcode
if: ${{ matrix.os == 'macos-latest' }}
uses: actions/setup-swift@v2
run: |
cmake -DENABLE_TESTING=1 -GXcode -S . -B .xcode-build
cd .xcode-build
xcrun xcodebuild -configuration ${{ matrix.configuration }} -scheme XCTestDiscovery -destination 'platform=macOS' test
- name: Setup Swift
uses: actions/setup-swift@v2
with:
version: 5.9

- name: Native CTest
run: ${{ env.BUILD_AND_TEST }}

0 comments on commit 2028d6b

Please sign in to comment.