Updates for Xcode 15.3 #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
macos: | |
name: macOS SPM unit tests | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 15.3 | |
- name: Set up SDK | |
run: cd sdk && sudo make install | |
- name: Run tests | |
run: swift test | |
macos_raw: | |
name: macOS raw build | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 15.3 | |
- name: Raw build | |
run: swift build | |
linux: | |
name: Linux SPM unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Give up and run in docker | |
run: 'docker run -v `pwd`:`pwd` -w `pwd` --name steamworks --rm swiftlang/swift:nightly-5.9-focal /bin/bash -c "apt-get update; apt-get install make; (cd sdk && make install); swift test -Xswiftc -cxx-interoperability-mode=default"' | |
# - name: Set up SDK | |
#run: cd sdk && sudo make install | |
#- name: Run tests | |
#run: swift test -Xswiftc -cxx-interoperability-mode=default |