From 43388d44b6376d2ce2618947e6f80be3aab09098 Mon Sep 17 00:00:00 2001 From: Liam Nichols Date: Tue, 2 Aug 2022 22:38:44 +0200 Subject: [PATCH] Add GitHub Actions Workflow for CI checks --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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 0000000..1527ace --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +name: "HTTPHeaders CI" + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + macos: + name: macOS (Xcode ${{ matrix.xcode }}) + strategy: + fail-fast: false + matrix: + xcode: ["13.4.1", "13.2.1"] + include: + - xcode: "13.4.1" + macos: macOS-12 + - xcode: "13.2.1" + macos: macOS-11 + runs-on: ${{ matrix.macos }} + env: + DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + - name: Run Tests + run: swift test