Skip to content

Commit

Permalink
Merge pull request #18 from thierrymarianne/use-portable-flag-on-build
Browse files Browse the repository at this point in the history
Pass portable feature flag to cargo build
  • Loading branch information
cjdelisle authored Jul 2, 2021
2 parents c222696 + c1481fe commit 59bb73e
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 59bb73e

Please sign in to comment.