Dongjia "toka" Zhang 60c05396da
Remove scripts/test_fuzzer.sh, Rewrite in Rust (#3205)
* no more shellscript

* metadatas

* clp

* clippo

* this language breaks everyday

* stop

* 2404?

* purge rust

* everything is broken

* test

* ci dead

* aa

* aa

* remove broken shit

* remove broken shit

* broken shit

* a

* lol

* aaaaa

* AI fix

* aa

* aaa

* yes?

* a

* FK

* tmate

* wtf who tf did this shit????

* aa

* useless printlnt

* for system too

* unset first
2025-05-12 13:25:04 +02:00

33 lines
1.0 KiB
YAML

name: Setup QEMU Fuzzers environment
description: Sets up the QEMU fuzzers environment
runs:
using: composite
steps:
- name: Install QEMU deps
shell: bash
run: |
apt-get update
apt-get install -y qemu-utils sudo python3-msgpack python3-jinja2 curl python3-dev gcc-arm-none-eabi \
gcc-arm-linux-gnueabi g++-arm-linux-gnueabi
- name: Remove old rust
shell: bash
run: sudo apt purge -y 'rust*' 'cargo*'
- uses: dtolnay/rust-toolchain@stable
env:
RUSTUP_HOME: /usr/local/rustup
CARGO_HOME: /usr/local/cargo
- name: enable mult-thread for `make`
shell: bash
run: export MAKEFLAGS="-j$(expr $(nproc) \+ 1)"
- name: install just
uses: extractions/setup-just@v2
with:
just-version: '1.40.0'
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- uses: ./.github/workflows/ubuntu-prepare
- uses: Swatinem/rust-cache@v2
with: { shared-key: "${{ runner.os }}-shared-fuzzer-cache" }