Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
makoni committed May 23, 2024
1 parent 121a5d8 commit 23ce73a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ on:
jobs:
macos_build_and_test:
name: Build and test on latest macOS
runs-on: macOS-14
runs-on: macOS-latest

steps:
- name: Checkout
uses: actions/checkout@master

- name: Swift build for iOS
run: swift build -c release -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios13.0-simulator"
- name: Build for iOS
run: xcodebuild -scheme Uploadcare -destination "generic/platform=iOS"

- name: Swift build for macOS
- name: Build for macOS
run: swift build -c release

- name: Swift test
- name: Test
run: UPLOADCARE_PUBLIC_KEY="${{ secrets.UPLOADCARE_PUBLIC_KEY }}" UPLOADCARE_SECRET_KEY="${{ secrets.UPLOADCARE_SECRET_KEY }}" swift test

ubuntu:
name: Build and test on latest Ubuntu
runs-on: ubuntu-latest
strategy:
matrix:
swift: [5.9, 5.6.3]
swift: [5.10, 5.6.3]

steps:
- name: Checkout
Expand Down

0 comments on commit 23ce73a

Please sign in to comment.