Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
triniwiz committed Aug 7, 2024
1 parent 9caca18 commit 9378354
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,5 @@ jobs:
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ../../.npmrc
echo "Publishing @nativescript/canvas@$NPM_VERSION to NPM with tag $NPM_TAG..."
npm run publish-packages -- --name $NPM_PACKAGES --verify true --version $NPM_VERSION
npm publish nativescript-canvas-$NPM_VERSION.tgz --tag $NPM_TAG
npm run publish-packages --name $NPM_PACKAGES --verify true --version $NPM_VERSION
7 changes: 1 addition & 6 deletions tools/scripts/build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,9 @@ RUSTFLAGS="-Zlocation-detail=none -C panic=abort"


if [ "$TARGET" = "aarch64-linux-android" ]; then
RUSTFLAGS="-Zlocation-detail=none -C panic=abort -C target-feature=-outline-atomics -C target-cpu=native -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
RUSTFLAGS="-Zlocation-detail=none -C panic=abort -C target-feature=-outline-atomics"
fi

if [ "$TARGET" = "x86_64-linux-android" ]; then
RUSTFLAGS="-Zlocation-detail=none -C panic=abort -DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
fi


RUSTFLAGS="$RUSTFLAGS" cargo +nightly build -Z build-std='std,panic_abort' -Z build-std-features=panic_immediate_abort --target $TARGET $EXTRA_ARGS -p canvas-android --release

pushd packages/canvas/src-native/canvas-android
Expand Down

0 comments on commit 9378354

Please sign in to comment.