Skip to content

Commit

Permalink
chore: change to push & modify script
Browse files Browse the repository at this point in the history
  • Loading branch information
aeweda committed Nov 20, 2024
1 parent b484e72 commit df5db2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Release Tag

on:
push:
tags:
- '*'
- '!*bridge*'
branches:
- '**'

env:
CARGO_TERM_COLOR: always
Expand Down
6 changes: 5 additions & 1 deletion docker/cross-compilation/openssl-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ main() {

td=$(mktemp -d)

wget https://releases.linaro.org/components/toolchain/binaries/latest/aarch64-linux-gnu/sysroot-glibc-linaro-2.25-2017.08-aarch64-linux-gnu.tar.xz
tar -xvf sysroot-glibc-linaro-2.25-2017.08-aarch64-linux-gnu.tar.xz
SYSROOT=$(pwd)/../sysroot-glibc-linaro-2.25-2017.08-aarch64-linux-gnu

pushd $td
wget https://www.openssl.org/source/openssl-$version.tar.gz
tar --strip-components=1 -xzvf openssl-$version.tar.gz
Expand All @@ -20,7 +24,7 @@ main() {
$os \
-fPIC \
${@:3}
nice make -j$(sysctl -n hw.ncpu) CC=aarch64-elf-gcc AS=aarch64-elf-as
nice make -j$(sysctl -n hw.ncpu) CC="aarch64-elf-gcc --sysroot=$SYSROOT" AS="aarch64-elf-as --sysroot=$SYSROOT"
make install

popd
Expand Down

0 comments on commit df5db2a

Please sign in to comment.