-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
beb33cb
commit bffcbb9
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -303,10 +303,10 @@ jobs: | |
sudo sysctl -w vm.nr_hugepages=1024 | ||
cat /proc/meminfo | grep Huge | ||
- name: cargo-run-ping4d-with-address-sanitizer | ||
- name: cargo-run-pktdump-with-address-sanitizer | ||
run: | | ||
docker run --rm --privileged --network=host \ | ||
-w /home/capsule/examples/ping4d \ | ||
-w /home/capsule/examples/pktdump \ | ||
-v /dev/hugepages:/dev/hugepages \ | ||
-v `pwd`:/home/capsule \ | ||
--env RUSTFLAGS="-Z sanitizer=address" \ | ||
|
@@ -315,7 +315,8 @@ jobs: | |
getcapsule/sandbox \ | ||
/bin/bash -c "rustup install nightly && rustup default nightly \ | ||
&& rustup component add rust-src \ | ||
&& cargo run --target x86_64-unknown-linux-gnu -Zbuild-std -- -f ping4d.toml" | ||
&& cargo run --target x86_64-unknown-linux-gnu -Zbuild-std -- -f pktdump.toml" | ||
continue-on-error: true | ||
|
||
- name: slack-it | ||
uses: homoluctus/[email protected] | ||
|