Skip to content

Commit

Permalink
Build/test with --release build for MinGW, iOS (#399)
Browse files Browse the repository at this point in the history
* Perform release build when cross-compiling

* Also build/test with dev profile
  • Loading branch information
justsmth authored May 3, 2024
1 parent a31328e commit 05827f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ jobs:
with:
toolchain: stable
target: x86_64-apple-ios
- name: Build for `x86_64-apple-ios`
- name: Debug build for `x86_64-apple-ios`
run: cargo build -p aws-lc-rs --target x86_64-apple-ios --features bindgen
- name: Release build for `x86_64-apple-ios`
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 @@ -112,5 +115,7 @@ jobs:
with:
toolchain: stable
target: x86_64-pc-windows-gnu
- name: Test on `x86_64-pc-windows-gnu`
- name: Debug Test on `x86_64-pc-windows-gnu`
run: cargo test -p aws-lc-rs --target x86_64-pc-windows-gnu --features bindgen
- name: Release test on `x86_64-pc-windows-gnu`
run: cargo test -p aws-lc-rs --release --target x86_64-pc-windows-gnu --features bindgen
3 changes: 3 additions & 0 deletions scripts/ci/ios-simulator-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,7 @@ 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 05827f6

Please sign in to comment.