From e19e92e02cd3d30103e33e7efac45f86e846a86e Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Sat, 6 Jan 2024 15:21:07 -0800 Subject: [PATCH] wip --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ .spi.yml | 7 +++++++ 2 files changed, 36 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .spi.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3c14dbb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - '*' + workflow_dispatch: + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + library: + name: macOS + strategy: + matrix: + xcode: ['15.1'] + config: ['debug'] + runs-on: macos-13 + steps: + - uses: actions/checkout@v3 + - name: Select Xcode ${{ matrix.xcode }} + run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app + - name: Run ${{ matrix.config }} tests + run: swift test diff --git a/.spi.yml b/.spi.yml new file mode 100644 index 0000000..1c30eed --- /dev/null +++ b/.spi.yml @@ -0,0 +1,7 @@ +version: 1 +builder: + configs: + - documentation_targets: + - Perception + - PerceptionMacros + swift_version: 5.9