Skip to content

Commit 558a5cb

Browse files
committed
.
1 parent 50115d3 commit 558a5cb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,22 @@ jobs:
1111
target: x86_64-unknown-linux-gnu
1212
os: ubuntu-22.04
1313
cyclonedx-build: cyclonedx-linux-x64
14+
cargo-cross: false
1415
- arch: arm64-linux
1516
target: aarch64-unknown-linux-gnu
1617
os: ubuntu-22.04-arm
1718
cyclonedx-build: cyclonedx-linux-arm64
19+
cargo-cross: false
1820
- arch: x86_64-macos
1921
target: x86_64-apple-darwin
2022
os: macos-latest
2123
cyclonedx-build: cyclonedx-osx-x64
24+
cargo-cross: false
2225
- arch: arm64-macos
2326
target: aarch64-apple-darwin
2427
os: macos-latest
2528
cyclonedx-build: cyclonedx-osx-arm64
29+
cargo-cross: true
2630
fail-fast: false
2731

2832
name: Build (${{ matrix.arch }})
@@ -78,7 +82,7 @@ jobs:
7882
uses: actions-rs/cargo@v1
7983
with:
8084
command: build
81-
use-cross: true
85+
use-cross: ${{ matrix.cargo-cross }}
8286
args: --all-features --release --target ${{ matrix.target }}
8387
env:
8488
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "--cfg tokio_unstable --remap-path-prefix=$HOME=/reproducible-home --remap-path-prefix=$PWD=/reproducible-pwd"

.github/workflows/reprotest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
2828
- name: Reprotest
2929
run: |
30-
sudo env "PATH=$PATH" reprotest -vv --vary=environment,build_path,kernel,aslr,num_cpus,time --build-command 'just npm ci; just npm run build; cargo build --all-features --release' . target/release/warpgate
30+
sudo env "PATH=$PATH" reprotest -vv --vary=environment,build_path,kernel,aslr,num_cpus --build-command 'just npm ci; just npm run build; cargo build --all-features --release' . target/release/warpgate

0 commit comments

Comments
 (0)