Skip to content

Commit

Permalink
Fix path and runs-on
Browse files Browse the repository at this point in the history
update path to work with new checkout

use rust nightly

use same nightly as xtask

try stable toolchain

try remove symlinks

try same machine as sdk build
  • Loading branch information
BillCarsonFr committed May 15, 2024
1 parent 69b71fa commit ed7044e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release_crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
build_native:
name: Build and generate crypto native libs
runs-on: macos-latest
runs-on: ubuntu-latest
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
Expand Down Expand Up @@ -60,10 +60,10 @@ jobs:
with:
ndk-version: r25c

- name: Create symlinks for buildchain
run: |
export PATH="${{ steps.install-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH"
echo $PATH
# - name: Create symlinks for buildchain
# run: |
# export PATH="${{ steps.install-ndk.outputs.ndk-path }}/toolchains/llvm/prebuilt/darwin-x86_64/bin:$PATH"
# echo $PATH

- uses: actions/cache@v4
with:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
- name: Run build script
env:
ANDROID_NDK: ${{ steps.install-ndk.outputs.ndk-path }}
run: ./main/scripts/build.sh -r -m crypto -p rust-sdk
run: ./scripts/build.sh -r -m crypto -p rust-sdk

- name: Find all .aar files
run: find . -name "*.aar"
Expand All @@ -132,7 +132,7 @@ jobs:
CRYPTO_SDK_VERSION: ${{ github.event.inputs.crypto-sdk-version }}
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 ./main/scripts/release_crypto.py --version ${{ github.event.inputs.crypto-sdk-version }} --sdk_path ./rust-sdk
python3 ./scripts/release_crypto.py --version ${{ github.event.inputs.crypto-sdk-version }} --sdk_path ./rust-sdk
# - name: Run test python
# run: |
Expand Down

0 comments on commit ed7044e

Please sign in to comment.