Skip to content

Commit

Permalink
Using executable target
Browse files Browse the repository at this point in the history
  • Loading branch information
BarredEwe committed Dec 7, 2023
1 parent ad58a69 commit c1c68c8
Show file tree
Hide file tree
Showing 82 changed files with 1,093 additions and 1,265 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,22 @@ on:

jobs:
build:

runs-on: macos-latest

name: Run ${{ matrix.xcode }}
runs-on: ${{ matrix.runsOn }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- xcode: "Xcode_15.0.1"
runsOn: macos-13
- xcode: "Xcode_14.3.1"
runsOn: macos-13
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios16.3-simulator"
- uses: actions/checkout@v4
- name: Select xcode
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app
- name: Build Prefire
run: make build
- name: Run PrefireExecutable Tests
run: make test
15 changes: 15 additions & 0 deletions Binaries/PrefireBinary.artifactbundle/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"schemaVersion": "1.0",
"artifacts": {
"PrefireBinary": {
"type": "executable",
"version": "2.0.0",
"variants": [
{
"path": "prefire-2.0.0-macos/bin/prefire",
"supportedTriples": ["x86_64-apple-macosx", "arm64-apple-macosx"]
},
]
}
}
}
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit c1c68c8

Please sign in to comment.