diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d371f20c..31b0acdb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -136,10 +136,9 @@ jobs: - name: Compile Static Library run: | git clone https://github.com/leetal/ios-cmake --depth 1 - cp ios-cmake/ios.toolchain.cmake . mkdir build cd build - cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE=../ios.toolchain.cmake -DPLATFORM=OS64 .. -DPK_BUILD_STATIC_LIB=ON -DPK_USE_CJSON=ON -DPK_USE_BOX2D=ON -DCMAKE_BUILD_TYPE=Release + cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE=../ios-cmake/ios.toolchain.cmake -DPLATFORM=OS64 .. -DPK_BUILD_STATIC_LIB=ON -DPK_USE_CJSON=ON -DPK_USE_BOX2D=ON -DCMAKE_BUILD_TYPE=Release cmake --build . --config Release cd .. mkdir -p output/ios diff --git a/docs/quick-start/installation.md b/docs/quick-start/installation.md index b7254dd2..9b2272b9 100644 --- a/docs/quick-start/installation.md +++ b/docs/quick-start/installation.md @@ -48,6 +48,39 @@ To compile it with your project, these flags must be set: For emscripten, you must enable exceptions to make pocketpy work properly. See https://emscripten.org/docs/porting/exceptions.html. +### Get prebuilt binaries + +We have prebuilt binaries, +check them out on our [GitHub Actions](https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml). + +You can download an artifact there which contains the following files. + +``` +├── android +│   ├── arm64-v8a +│   │   └── libpocketpy.so +│   ├── armeabi-v7a +│   │   └── libpocketpy.so +│   └── x86_64 +│   └── libpocketpy.so +├── ios +│   └── libpocketpy.a +├── linux +│   └── x86_64 +│   ├── libpocketpy.so +│   └── main +├── macos +│   └── pocketpy.bundle +│   └── Contents +│   ├── Info.plist +│   └── MacOS +│   └── pocketpy +└── windows + └── x86_64 + ├── main.exe + └── pocketpy.dll +``` + ### Example ```cpp