Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Oct 9, 2024
1 parent 19457ac commit ea4f0ae
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,33 @@ on:
workflow_dispatch:

jobs:
macos_tests:
runs-on: macos-12
macos:
runs-on: macos-14
strategy:
matrix:
xcode:
- "14.2" # Swift 5.7.2
command:
- test
# - benchmarks
- '16.0'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: System
run: system_profiler SPHardwareDataType
- name: Run ${{ matrix.command }}
run: make ${{ matrix.command }}
- name: Build
run: swift build
- name: Run tests
run: swift test

ubuntu_tests:
linux:
strategy:
matrix:
os: [ubuntu-20.04]

os: ubuntu-latest
swift:
- '6'
runs-on: ${{ matrix.os }}

container: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: swift build
- name: Run tests
Expand Down

0 comments on commit ea4f0ae

Please sign in to comment.