-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix ios to build two separate libraries (avoid lipo)
also fix release process and apply ccache where possible
- Loading branch information
Showing
2 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,25 +133,26 @@ jobs: | |
# make -f build/meson.mk CLANG=1 RELEASE=1 | ||
|
||
windows-build: | ||
name: 🪟 Windows build | ||
name: 🪟 Windows build test | ||
needs: [reuse, c-lint, lua-lint] | ||
if: "github.event_name == 'pull_request'" | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: hendrikmuhs/[email protected] | ||
- name: install dependencies | ||
run : | | ||
sudo apt install -y zsh jq gcc-mingw-w64 g++-mingw-w64 ccache | ||
sudo apt install -y zsh jq gcc-mingw-w64 g++-mingw-w64 | ||
- name: Build x86_64 windows .exe | ||
run: | | ||
make -f build/win-exe.mk CCACHE=1 | ||
make clean -C src | ||
make -f build/win-dll.mk CCACHE=1 | ||
apple-ios-build: | ||
name: 🍎 Apple iOS build | ||
name: 🍎 Apple iOS build test | ||
needs: [reuse, c-lint, lua-lint] | ||
if: "github.event_name == 'pull_request'" | ||
runs-on: macos-latest | ||
|
@@ -161,9 +162,9 @@ jobs: | |
fetch-depth: 0 | ||
- run: | | ||
make -f build/apple-ios.mk ios-arm64 | ||
make clean | ||
make -f build/apple-ios.mk ios-sim | ||
make -f build/apple-ios.mk ios-fat | ||
# make clean | ||
# make -f build/apple-ios.mk ios-sim | ||
# make -f build/apple-ios.mk ios-fat | ||
# make -f build/apple-ios.mk ios-armv7 | ||
# make clean | ||
|
@@ -484,15 +485,27 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: hendrikmuhs/[email protected] | ||
- run: | | ||
make osx | ||
- name: Upload artifact win x86_64 | ||
make clean | ||
make -f build/apple-ios.mk ios-arm64 CCACHE=1 | ||
make clean | ||
make -f build/apple-ios.mk ios-sim CCACHE=1 | ||
- name: Upload artifacts for Apple OSX | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: release-bin-osx | ||
name: release-apple-osx | ||
path: | | ||
src/zenroom.command | ||
src/zencode-exec.command | ||
- name: Upload artifacts for Apple iOS | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: release-apple-ios | ||
path: | | ||
zenroom-ios-arm64.a | ||
zenroom-ios-x86_64.a | ||
npm-release: | ||
name: 📦 npm release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters