Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci.yml #6

Merged
merged 1 commit into from
Apr 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ jobs:
runs-on: macOS-latest
strategy:
matrix:
xcode: ["11.7", "12.3"]
xcode: ["13.4.2", "14.2"]
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Swift version
run: swift --version

- name: Test
run: swift test -v --skip-update --parallel --enable-test-discovery --enable-code-coverage
run: swift test -v --skip-update --parallel --enable-code-coverage
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer

- name: Build Release
run: swift build -c release
env:
Expand All @@ -37,16 +38,15 @@ jobs:
image: swift:${{ matrix.swift }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: "Update APT"
shell: bash
run: "apt update"
- name: "Install curl"
shell: bash
run: "apt-get install -y curl"
- name: Swift version
run: swift --version
uses: actions/checkout@v3

- name: "Install dependencies"
run: |
"apt update"
"apt install -y curl"
- name: Test
run: swift test -v --skip-update --parallel --enable-test-discovery --enable-code-coverage
run: swift test -v --parallel --enable-code-coverage

- name: Build Release
run: swift build -c release