Skip to content

Commit

Permalink
Use Arm64 Image for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
b3ll committed Apr 10, 2024
1 parent d7a781a commit d0439dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
name: Create Release

# Create XCFramework when a version is tagged
# Create xcframework when a version is tagged
on:
create:
tags:

jobs:
create_release:
name: Create Release
runs-on: macos-latest
runs-on: macos-14
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- uses: actions/checkout@v2

- name: Setup Swift 5.9
uses: swift-actions/setup-swift@v2
with:
swift-version: '5.9'

- run: bash ${GITHUB_WORKSPACE}/build_xcframework.sh
- run: ${GITHUB_WORKSPACE}/build_xcframework.sh

- name: Create Release
id: create_release
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Benchmark/.swiftpm
Resources/deprecated/MotionLogo-Dark.mov
Resources/deprecated/MotionLogo-Light.mov
build
Motion.zip
2 changes: 1 addition & 1 deletion build_xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ git clone https://github.com/giginet/Scipio.git build/scipio

pushd build/scipio

swift run -c release scipio create ../../ --enable-library-evolution --support-simulators --only-use-versions-from-resolved-file --output ../output
swift run -c release scipio create ../../ --enable-library-evolution --support-simulators --only-use-versions-from-resolved-file --output ../output --verbose

zip -r ../../Motion.zip ../output/Motion.xcframework

Expand Down

0 comments on commit d0439dd

Please sign in to comment.