Skip to content

Commit

Permalink
Test ci(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Feb 18, 2024
1 parent a83fa79 commit f4c5cbf
Showing 1 changed file with 23 additions and 24 deletions.
47 changes: 23 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,29 @@ jobs:
-sdk iphonesimulator
swiftpm:
if: false
runs-on: ${{ matrix.runs-on }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
strategy:
fail-fast: false
matrix:
include:
# 17.2
- target: "x86_64-apple-ios17.2-simulator"
xcode: "15.2"
runs-on: macos-13
- target: "arm64-apple-ios17.2-simulator"
xcode: "15.2"
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: "Swift Package Manager build"
run: |
xcrun swift build \
--sdk "$(xcrun --sdk iphonesimulator --show-sdk-path)" \
-Xswiftc "-target" -Xswiftc "${{ matrix.target }}"
swiftpm_old:
runs-on: ${{ matrix.runs-on }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
Expand All @@ -133,29 +155,6 @@ jobs:
- name: "Swift Package Manager build"
run: swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "${{ matrix.target }}"

swiftpm_xcode_15:
runs-on: ${{ matrix.runs-on }}
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
strategy:
fail-fast: false
matrix:
include:
# 17.2
- target: "x86_64-apple-ios17.2-simulator"
xcode: "15.2"
runs-on: macos-13
- target: "arm64-apple-ios17.2-simulator"
xcode: "15.2"
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: "Swift Package Manager build"
run: |
xcrun swift build --verbose \
--sdk "$(xcrun --sdk iphonesimulator --show-sdk-path)" \
-Xswiftc "-target" -Xswiftc "${{ matrix.target }}"
carthage:
if: false
runs-on: macos-11
Expand Down

0 comments on commit f4c5cbf

Please sign in to comment.