Skip to content

Commit

Permalink
Test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Feb 18, 2024
1 parent 94ada92 commit 9a2785a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
build:
if: false
runs-on: ${{ matrix.runs-on }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
Expand Down Expand Up @@ -48,6 +49,7 @@ jobs:
run: xcodebuild -scheme FloatingPanel SWIFT_VERSION=${{ matrix.swift }} clean build

test:
if: false
runs-on: ${{ matrix.runs-on }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
Expand Down Expand Up @@ -82,6 +84,7 @@ jobs:
timeout-minutes: 20

example:
if: false
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
Expand Down Expand Up @@ -136,14 +139,39 @@ 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)" \
--triple "arm64-apple-ios17.2-simulator"
carthage:
if: false
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: "Carthage build"
run: carthage build --use-xcframeworks --no-skip-current

cocoapods:
if: false
runs-on: macos-13
env:
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer
Expand Down

0 comments on commit 9a2785a

Please sign in to comment.