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" }