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

Prepare 0.2.1 release #203

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
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
17 changes: 6 additions & 11 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: echo "TOOLCHAIN=$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64" >> $GITHUB_ENV
- run: ls $TOOLCHAIN/lib64/clang | xargs -0 printf "CLANG_VERSION=%s" >> $GITHUB_ENV
- run: echo "CLANG=$TOOLCHAIN/lib64/clang/$CLANG_VERSION" >> $GITHUB_ENV
- run: ls $TOOLCHAIN/lib/clang | xargs -0 printf "CLANG_VERSION=%s" >> $GITHUB_ENV
- run: echo "CLANG=$TOOLCHAIN/lib/clang/$CLANG_VERSION" >> $GITHUB_ENV

- run: echo $ANDROID_NDK_LATEST_HOME
- run: echo $CLANG_VERSION
Expand All @@ -23,37 +23,32 @@ jobs:
- run: cp -r $CLANG/lib/linux/x86_64/* Android.ndk/usr/lib/x86_64-linux-android/
- run: cp -r $CLANG/lib/linux/i386/* Android.ndk/usr/lib/i686-linux-android/

- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/aarch64-linux-android/libgcc.a
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/arm-linux-androideabi/libgcc.a
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/x86_64-linux-android/libgcc.a
- run: echo "INPUT(-lunwind)" > Android.ndk/usr/lib/i686-linux-android/libgcc.a

- run: tar --zstd -cf Android.ndk.tar.zst Android.ndk
- run: gh release upload $TAG Android.ndk.tar.zst -R ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.event.release.tag_name }}

macos:
runs-on: macos-11
runs-on: macos-latest
steps:
- run: ls /Applications/Xcode*
- run: cp -R $SDK_PATH .
env:
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
SDK_PATH: /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
- run: gtar --zstd -cf MacOSX.sdk.tar.zst MacOSX.sdk
- run: gh release upload $TAG MacOSX.sdk.tar.zst -R ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.event.release.tag_name }}

ios:
runs-on: macos-11
runs-on: macos-latest
steps:
- run: ls /Applications/Xcode*
- run: cp -R $SDK_PATH .
env:
SDK_PATH: /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
SDK_PATH: /Applications/Xcode_16.1.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
- run: gtar --zstd -cf iPhoneOS.sdk.tar.zst iPhoneOS.sdk
- run: gh release upload $TAG iPhoneOS.sdk.tar.zst -R ${{ github.repository }}
env:
Expand Down
2 changes: 1 addition & 1 deletion xbuild/src/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl WorkItem {
impl WorkItem {
const ORG: &'static str = "rust-mobile";
const REPO: &'static str = "xbuild";
const VERSION: &'static str = "v0.1.0+3";
const VERSION: &'static str = "v0.2.1-alpha";

pub fn xbuild_release(output: PathBuf, artifact: &str) -> Self {
Self::github_release(output, Self::ORG, Self::REPO, Self::VERSION, artifact)
Expand Down
Loading