From ce31efa00598c644e35f04d2b6fd381e7b5c0ca1 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Fri, 7 Mar 2025 11:43:24 -0500 Subject: [PATCH] feat: Adds CI tests. --- .github/workflows/ci.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..d54771b --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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