From ebf101bfb0ef0afbc4f86d8291799c9cf8bb7546 Mon Sep 17 00:00:00 2001 From: Jihoonahn Date: Tue, 5 Dec 2023 03:29:38 +0900 Subject: [PATCH] Add Ci --- .github/workflows/ci.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..920aec63 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,40 @@ +name: CI + +on: + push: + branches: + - main + - case-key-paths + pull_request: + branches: + - '*' + workflow_dispatch: + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + macos: + name: macos 13 (Xcode 15.0.0) + runs-on: macos-13 + strategy: + matrix: + config: + - debug + - release + steps: + - name: Set Xcode version + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0' + - name: Checkout Package + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: View Swift Version + run: swift --version + - name: Build and Test + run: | + swift build + swift test