Skip to content

Update ci.yml

Update ci.yml #41

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-on-macos:
runs-on: macos-latest
strategy:
matrix:
xcode-version: ['16.0', '15.4', '15.2', '14.3.1']
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode-version }}.app
steps:
- uses: actions/checkout@v4
- name: Run swift build
run: swift build
- name: Run swift test
run: swift test
test-on-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Swift
run: |
curl -L https://swiftlang.github.io/swiftly/swiftly-install.sh | bash -s -- -y
swiftly install 5.6
swiftly use 5.6
- name: version
run: swift --version
- name: Run swift build
run: swift build
- name: Run swift test
run: swift test