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