Skip to content

Commit

Permalink
Pass portable flag to cargo build
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymarianne committed Jul 2, 2021
1 parent c222696 commit c1481fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/github-actions/build-linux-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

function build() {
cd "${GITHUB_WORKSPACE}" || exit
cargo build --release --features jemalloc --target=x86_64-unknown-linux-musl
cargo build --release --features portable --target=x86_64-unknown-linux-musl

mkdir "${GITHUB_WORKSPACE}/bin"

Expand Down
2 changes: 1 addition & 1 deletion contrib/github-actions/build-macos-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

function build() {
cd "${GITHUB_WORKSPACE}" || exit
cargo build --release --features jemalloc
cargo build --release --features portable

mkdir "${GITHUB_WORKSPACE}/bin"
cp "${GITHUB_WORKSPACE}/target/release/packetcrypt" "${GITHUB_WORKSPACE}/bin"
Expand Down
2 changes: 1 addition & 1 deletion contrib/github-actions/build-windows-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

function build() {
cd "${GITHUB_WORKSPACE}" || exit
cargo build --release --target x86_64-pc-windows-gnu
cargo build --release --features portable --target x86_64-pc-windows-gnu

mkdir ./bin

Expand Down

0 comments on commit c1481fe

Please sign in to comment.