Skip to content

Updates for Xcode 16 / Linux Swift 6 #104

Updates for Xcode 16 / Linux Swift 6

Updates for Xcode 16 / Linux Swift 6 #104

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
macos:
name: macOS SPM unit tests
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.0'
- name: Set up SDK
run: cd sdk && sudo make install
- name: Run tests
run: swift test
macos_raw:
name: macOS raw build
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.0'
- name: Raw build
run: swift build
linux:
name: Linux SPM unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
- uses: vapor/swiftly-action@v0.1
with:
toolchain: "6.0"
- name: Set up SDK
run: cd sdk && sudo make install
- name: Run tests
run: swift test
linux2:
name: Linux SPM unit tests
runs-on: ubuntu-latest
container:
image: swift-6
steps:
- uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
- name: Install tools
run: apt-get update && apt-get install make
- name: Set up SDK
run: cd sdk && sudo make install
- name: Run tests
run: swift test