Add another test condition #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
xcode15: | |
runs-on: macos-13 | |
steps: | |
- name: Select latest available Xcode | |
uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: '15.2.0' | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Build Swift Debug Package | |
run: swift build -c debug | |
- name: Build Swift Release Package | |
run: swift build -c release | |
- name: Run Tests | |
run: swift test | |
xcode16: | |
runs-on: macos-latest | |
steps: | |
- name: Select latest available Xcode | |
uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: latest | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Build Swift Debug Package | |
run: swift build -c debug | |
- name: Build Swift Release Package | |
run: swift build -c release | |
- name: Run Tests | |
run: swift test |