39
39
# => https://github.com/Michael-F-Bryan/mdbook-linkcheck/pull/82#issuecomment-2241058491
40
40
git : https://github.com/Michael-F-Bryan/mdbook-linkcheck.git
41
41
rev : 8c783c5d754d83bcd50c28fb4174854b04ece990
42
- - name : default nightly
43
- run : rustup default nightly
44
42
- uses : actions/checkout@v4
45
43
- if : runner.os == 'Linux'
46
44
uses : ./.github/workflows/ubuntu-prepare
88
86
- uses : Swatinem/rust-cache@v2
89
87
# ---- doc check ----
90
88
- name : Build Docs
91
- run : RUSTFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps
89
+ run : cargo doc --all-features --no-deps
92
90
93
91
ubuntu-doc-test :
94
92
runs-on : ubuntu-24.04
@@ -98,20 +96,20 @@ jobs:
98
96
- uses : Swatinem/rust-cache@v2
99
97
# ---- doc check ----
100
98
- name : Test Docs
101
- run : RUSTFLAGS="--cfg docsrs" cargo +nightly test --doc --all-features
99
+ run : cargo test --doc --all-features
102
100
103
101
ubuntu-miri :
104
102
runs-on : ubuntu-24.04
105
103
if : contains( github.event.pull_request.labels.*.name, 'pre-release')
106
104
steps :
107
- - name : Add nightly clippy
108
- run : rustup toolchain install nightly --component miri --allow-downgrade
105
+ - name : Add miri
106
+ run : rustup toolchain install --component miri --allow-downgrade
109
107
- uses : actions/checkout@v4
110
108
- uses : ./.github/workflows/ubuntu-prepare
111
109
- uses : Swatinem/rust-cache@v2
112
110
# --- miri undefined behavior test --
113
111
- name : Run miri tests
114
- run : RUST_BACKTRACE=1 MIRIFLAGS="-Zmiri-disable-isolation" cargo +nightly miri test
112
+ run : RUST_BACKTRACE=1 MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test
115
113
116
114
ubuntu :
117
115
runs-on : ubuntu-24.04
@@ -142,8 +140,6 @@ jobs:
142
140
steps :
143
141
- name : Remove Dotnet & Haskell
144
142
run : rm -rf /usr/share/dotnet && rm -rf /opt/ghc
145
- - name : Add nightly clippy
146
- run : rustup toolchain install nightly --component clippy --allow-downgrade && rustup default nightly
147
143
- uses : actions/checkout@v4
148
144
- uses : ./.github/workflows/ubuntu-prepare
149
145
- uses : Swatinem/rust-cache@v2
@@ -153,7 +149,7 @@ jobs:
153
149
# --- test embedding the libafl_libfuzzer_runtime library
154
150
# Fix me plz
155
151
# - name: Test Build libafl_libfuzzer with embed
156
- # run: cargo +nightly test --features=embed-runtime --manifest-path libafl_libfuzzer/Cargo.toml
152
+ # run: cargo test --features=embed-runtime --manifest-path libafl_libfuzzer/Cargo.toml
157
153
158
154
ubuntu-check :
159
155
runs-on : ubuntu-24.04
@@ -209,9 +205,6 @@ jobs:
209
205
steps :
210
206
- uses : actions/checkout@v4
211
207
- uses : ./.github/workflows/ubuntu-prepare
212
- - name : Add rustfmt nightly
213
- shell : bash
214
- run : rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
215
208
- uses : Swatinem/rust-cache@v2
216
209
with : { shared-key: "ubuntu" }
217
210
- name : Installing black
@@ -250,6 +243,7 @@ jobs:
250
243
needs :
251
244
- fuzzers-preflight
252
245
strategy :
246
+ fail-fast : false
253
247
matrix :
254
248
os : [ ubuntu-24.04 ]
255
249
fuzzer :
@@ -431,14 +425,11 @@ jobs:
431
425
steps :
432
426
- uses : actions/checkout@v4
433
427
- uses : ./.github/workflows/ubuntu-prepare
434
- - name : Add rustfmt nightly
435
- shell : bash
436
- run : rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
437
428
- name : Install deps
438
429
run : sudo apt-get update && sudo apt-get install -y g++-powerpc-linux-gnu gcc-powerpc-linux-gnu gdb-multiarch
439
430
- name : Add rust targets
440
431
shell : bash
441
- run : rustup target add --toolchain nightly -x86_64-unknown-linux-gnu powerpc-unknown-linux-gnu
432
+ run : rustup target add --toolchain stable -x86_64-unknown-linux-gnu powerpc-unknown-linux-gnu
442
433
- name : Build and run utils (Linux)
443
434
if : runner.os == 'Linux'
444
435
shell : bash
@@ -457,6 +448,7 @@ jobs:
457
448
shell : bash
458
449
run : |
459
450
RUN_ON_CI=1 \
451
+ RUSTC_BOOTSTRAP=1 \
460
452
LLVM_CONFIG=llvm-config-${{env.MAIN_LLVM_VERSION}} \
461
453
just \
462
454
-f ./libafl_qemu/librasan/Justfile \
@@ -476,6 +468,7 @@ jobs:
476
468
shell : bash
477
469
run : |
478
470
RUN_ON_CI=1 \
471
+ RUSTC_BOOTSTRAP=1 \
479
472
LLVM_CONFIG=llvm-config-${{env.MAIN_LLVM_VERSION}} \
480
473
just \
481
474
-f ./libafl_qemu/librasan/Justfile \
@@ -515,9 +508,9 @@ jobs:
515
508
- uses : actions/checkout@v4
516
509
- uses : Swatinem/rust-cache@v2
517
510
- name : Build aarch64-unknown-none
518
- run : cd ./fuzzers/fuzz_anything/baby_no_std && cargo +nightly build -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release && cd ../..
511
+ run : cd ./fuzzers/fuzz_anything/baby_no_std && cargo build -Zbuild-std=core,alloc --target aarch64-unknown-none -v --release && cd ../..
519
512
- name : run x86_64 until panic!
520
- run : cd ./fuzzers/fuzz_anything/baby_no_std && cargo +nightly run || test $? -ne 0 || exit 1
513
+ run : cd ./fuzzers/fuzz_anything/baby_no_std && cargo run || test $? -ne 0 || exit 1
521
514
- name : no_std tests
522
515
run : cd ./libafl && cargo test --no-default-features
523
516
@@ -534,7 +527,7 @@ jobs:
534
527
- name : libafl armv6m-none-eabi (32 bit no_std) clippy
535
528
run : cd ./libafl && cargo clippy --target thumbv6m-none-eabi --no-default-features
536
529
- name : Build no_std no_alloc bolts
537
- run : cd ./libafl_bolts && cargo +nightly build -Zbuild-std=core --target aarch64-unknown-none --no-default-features -v --release && cd ../
530
+ run : cd ./libafl_bolts && cargo build -Zbuild-std=core --target aarch64-unknown-none --no-default-features -v --release && cd ../
538
531
539
532
format-toml :
540
533
runs-on : ubuntu-24.04
@@ -621,8 +614,8 @@ jobs:
621
614
runs-on : macOS-latest
622
615
steps :
623
616
- uses : dtolnay/rust-toolchain@stable
624
- - name : Add nightly clippy
625
- run : rustup toolchain install nightly --component clippy --allow-downgrade && rustup default nightly
617
+ with :
618
+ components : clippy
626
619
- name : Install deps
627
620
run : brew install z3 gtk+3 python llvm@${{env.MAIN_LLVM_VERSION}}
628
621
- name : Install cxxbridge
@@ -634,7 +627,7 @@ jobs:
634
627
- name : Increase map sizes
635
628
run : ./scripts/shmem_limits_macos.sh
636
629
- name : Clippy
637
- run : cargo +nightly clippy --tests --all --exclude libafl_nyx --exclude symcc_runtime --exclude runtime_test
630
+ run : cargo clippy --tests --all --exclude libafl_nyx --exclude symcc_runtime --exclude runtime_test
638
631
639
632
android :
640
633
runs-on : ubuntu-24.04
0 commit comments