Update for Xcode 15.0.1/Swift 5.9/swift-syntax 509.0.2 #102
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: | |
pull_request: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
linux: | |
name: Test on Linux | |
runs-on: ubuntu-22.04 | |
container: | |
image: swift:5.9 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Show Environments | |
run: swift --version | |
- name: Install missing dependencies in ubuntu | |
run: | | |
apt-get update --assume-yes | |
apt-get install --assume-yes libsqlite3-dev libncurses-dev make | |
- name: Validate Source Code | |
run: make autocorrect && [ -z "$(git status --porcelain)" ] | |
- name: Run Test | |
run: make test | |
macOS: | |
name: Test on macOS | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
xcode_version: | |
- "15.0.1" | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Show Environments | |
run: | | |
swift --version | |
xcodebuild -version | |
- name: Run Test | |
run: make test |