Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koher committed Sep 15, 2024
1 parent 25b086f commit 31c9fd8
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,31 @@ on:
jobs:
mac-os:
name: macOS
runs-on: macos-11
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -c release -v
- name: Test
run: swift test -c release -v
- uses: actions/checkout@v2
- name: Set up Xcode 15
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15'
- name: Build for macOS
run: swift build -c release -v
- name: Test for macOS
run: swift test -c release -v
- name: Set up iOS Simulator
run: |
xcrun simctl boot "iPhone 15 Pro"
- name: Build for iOS
run: xcodebuild -destination 'platform=iOS Simulator,name=iPhone 15 Pro' -scheme swift-ymd build
- name: Test on iOS Simulator
run: xcodebuild -destination 'platform=iOS Simulator,name=iPhone 15 Pro' -scheme swift-ymd test

linux:
name: Linux
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build -c release -v
- name: Test
run: swift test -c release -v

- uses: actions/checkout@v2
- name: Build for Linux
run: swift build -c release -v
- name: Test for Linux
run: swift test -c release -v

0 comments on commit 31c9fd8

Please sign in to comment.