feat: Adds CI tests.
This commit is contained in:
22
.github/workflows/ci.yaml
vendored
Normal file
22
.github/workflows/ci.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
macOS:
|
||||||
|
name: macOS
|
||||||
|
runs-on: macOS-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
xcode: ['16.2']
|
||||||
|
config: ['debug', 'release']
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Select Xcode ${{ matrix.xcode }}
|
||||||
|
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
|
||||||
|
- name: Run ${{ matrix.xcode }} Tests for ${{ matrix.config }}
|
||||||
|
run: swift test
|
||||||
Reference in New Issue
Block a user