Skip to content

Commit

Permalink
Merge pull request #200 from ikesyo/universal-binary
Browse files Browse the repository at this point in the history
Make universal binary
  • Loading branch information
uhooi committed Aug 25, 2022
2 parents 77db877 + 95aacf8 commit 926f9f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
types: [published]

env:
DEVELOPER_DIR: /Applications/Xcode_12.5.1.app
DEVELOPER_DIR: /Applications/Xcode_13.4.1.app

jobs:
build-release:
runs-on: macos-11
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- name: Create the binary
Expand All @@ -22,7 +22,7 @@ jobs:

deploy-binary:
needs: build-release
runs-on: macos-11
runs-on: macos-12
steps:
- uses: actions/download-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions install-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ echo "OUTPUT FILE = ${OUTFILE}"

cd "$SRCDIR"
rm -rf .build
swift build -c release
swift build -c release --arch arm64 --arch x86_64

cd .build/release
cd .build/apple/Products/Release

echo "** Install..."
cp "$(xcode-select -p)"/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib .
Expand Down

0 comments on commit 926f9f4

Please sign in to comment.