Skip to content

Commit

Permalink
Perform release build when cross-compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Apr 26, 2024
1 parent 3c9e90b commit 0f0a374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
toolchain: stable
target: x86_64-apple-ios
- name: Build for `x86_64-apple-ios`
run: cargo build -p aws-lc-rs --target x86_64-apple-ios --features bindgen
run: cargo build -p aws-lc-rs --release --target x86_64-apple-ios --features bindgen

aws-lc-rs-windows-mingw:
if: github.repository_owner == 'aws'
Expand All @@ -113,4 +113,4 @@ jobs:
toolchain: stable
target: x86_64-pc-windows-gnu
- name: Test on `x86_64-pc-windows-gnu`
run: cargo test -p aws-lc-rs --target x86_64-pc-windows-gnu --features bindgen
run: cargo test -p aws-lc-rs --release --target x86_64-pc-windows-gnu --features bindgen
2 changes: 1 addition & 1 deletion scripts/ci/ios-simulator-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ fi

export DYLD_ROOT_PATH
cd "${REPO_ROOT}"/aws-lc-rs
cargo test --features bindgen,unstable --target aarch64-apple-ios-sim
cargo test --release --features bindgen,unstable --target aarch64-apple-ios-sim

0 comments on commit 0f0a374

Please sign in to comment.