Skip to content

Commit

Permalink
CI for cross-compiling to x86_64-pc-windows-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed May 2, 2024
1 parent a9bc038 commit 5a17947
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- x86_64-unknown-linux-musl
- aarch64-unknown-linux-musl
- s390x-unknown-linux-gnu
- x86_64-pc-windows-gnu
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion aws-lc-sys/builder/cmake_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ impl CmakeBuilder {
cmake_cfg.define("CMAKE_SYSTEM_PROCESSOR", "x86_64");
}
}
if (target_env() != "msvc") && test_ninja_command() {
if target_env() != "msvc" && test_ninja_command() {
// Use Ninja if available
cmake_cfg.generator("Ninja");
}
Expand Down
2 changes: 1 addition & 1 deletion docker/linux-cross/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update && \
apt-get install --assume-yes --no-install-recommends software-properties-common && \
add-apt-repository --yes ppa:longsleep/golang-backports && \
apt-get update && \
apt-get install --assume-yes --no-install-recommends build-essential cmake golang-go && \
apt-get install --assume-yes --no-install-recommends build-essential cmake golang-go nasm clang && \
git config --global --add safe.directory '*' && \
rm -rf /tmp/*

Expand Down

0 comments on commit 5a17947

Please sign in to comment.