Fix build #9
This file contains hidden or 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: Swift Build & Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# temp disabled ubuntu | |
#os: [macos-latest, ubuntu-latest] | |
os: [macos-latest] | |
steps: | |
- name: Checkout code (with submodules) | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Set up Swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: "5.9" | |
- name: Build | |
run: swift build --build-tests | |
- name: Test | |
run: swift test |