Skip to content

Commit

Permalink
Merge pull request #22 from allegro/feature/swift6
Browse files Browse the repository at this point in the history
PYLABS-213 Upgrade with the new swift toolchain
  • Loading branch information
vi4m authored Oct 16, 2024
2 parents f093c44 + f81253f commit 35b6a95
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,40 @@ on:
push:
branches:
- master
paths:
- '**.swift'
- '**.yml'

pull_request:
branches:
- master
release:
types:
- created

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-ci
cancel-in-progress: true

jobs:
build:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
linux:
name: Swift ${{ matrix.image }} on ubuntu-latest
runs-on: ubuntu-latest

strategy:
matrix:
os: [ubuntu-20.04, macos-11]
swift: ["5.5"]
image: ["swift:5.9", "swift:5.10", "swift:6.0"]

runs-on: ${{ matrix.os }}
container:
image: ${{ matrix.image }}

steps:
- uses: fwal/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}


- name: Get swift version
run: swift --version

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Run tests
run: swift test

0 comments on commit 35b6a95

Please sign in to comment.