Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create release.yml #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Build"

on:
pull_request:
branches:
- main
push:
branches:
- "ci-test"

jobs:
build_ios:
runs-on: macos-latest
steps:
- name: check Xcode version
run: /usr/bin/xcodebuild -version
- name: print env
run: echo ${GITHUB_WORKSPACE}
- name: checkout repository
uses: actions/checkout@v3
- name: build iOS
run: |
cd litehtml-maui-native
./build_ios.sh
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
# Artifact name
name: ioslib
# A file, directory or wildcard pattern that describes what to upload
path: ${GITHUB_WORKSPACE}/out/ios/lib/*.a

2 changes: 1 addition & 1 deletion litehtml-maui-native/build_ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#cmake --build ../out/_buildios --config Release --target install -- -UseModernBuildSystem=NO

cmake -S. -G Xcode -B../out/_buildios -DCMAKE_TOOLCHAIN_FILE=ios.toolchain.cmake -DPLATFORM=OS64COMBINED -DCMAKE_INSTALL_PREFIX=`pwd`/../out/ios -DBUILD_TESTING=OFF
cmake -S. -G Xcode -B../out/_buildios -DCMAKE_TOOLCHAIN_FILE=ios.toolchain.cmake -DPLATFORM=OS64COMBINED -DCMAKE_INSTALL_PREFIX=`pwd`/../out/ios -DBUILD_TESTING=OFF -DDEPLOYMENT_TARGET=13.0
cmake --build ../out/_buildios --config Release
cmake --install ../out/_buildios --config Release

Expand Down
Loading