Skip to content

[CI] Add Swift 5.9 CI jobs #192

[CI] Add Swift 5.9 CI jobs

[CI] Add Swift 5.9 CI jobs #192

Workflow file for this run

name: Bazel
on:
push:
branches: [main]
paths:
- '.github/workflows/bazel.yml'
- 'Sources/**/*.[ch]'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
- 'Tests/**/*.ya?ml'
- '**/BUILD'
- 'WORKSPACE'
- '.bazelrc'
- '.bazelversion'
pull_request:
paths:
- '.github/workflows/bazel.yml'
- 'Sources/**/*.[ch]'
- 'Sources/**/*.swift'
- 'Tests/**/*.swift'
- 'Tests/**/*.ya?ml'
- '**/BUILD'
- 'WORKSPACE'
- '.bazelrc'
- '.bazelversion'
jobs:
MacOS:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Apple tests
run: bazelisk test //Tests/...
Linux:
strategy:
matrix:
tag: ['5.4', '5.5', '5.6', '5.7', '5.8', '5.9']
runs-on: ubuntu-latest
container:
image: swift:${{ matrix.tag }}-focal
steps:
- uses: actions/checkout@v3
- uses: bazelbuild/setup-bazelisk@v2
- name: Yams tests
run: bazel test --test_output=all //Tests/...