From 8925666251e9e6b8608aaf221416a6273bab122d Mon Sep 17 00:00:00 2001 From: Samuel Moelius <35515885+smoelius@users.noreply.github.com> Date: Tue, 14 Nov 2023 18:57:25 -0500 Subject: [PATCH] Simplify rust.yml --- .github/workflows/rust.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8dfc045e7..4d2b46c5d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -57,25 +57,21 @@ jobs: - name: Rustup run: rustup default ${{ matrix.toolchain }} - name: Install LLVM - id: install-llvm run: | LLVM_VERSION="$(rustc --version -v | grep '^LLVM version:' | grep -o '[0-9]\+' | head -n 1)" if [[ ${{ matrix.environment }} = 'macos-latest' ]]; then brew update brew install llvm@"$LLVM_VERSION" || true - echo "PATH=/usr/local/opt/llvm/bin:$PATH" >> "$GITHUB_OUTPUT" + echo "/usr/local/opt/llvm/bin" >> "$GITHUB_PATH" else wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh sudo ./llvm.sh "$LLVM_VERSION" - echo "PATH=$PATH" >> "$GITHUB_OUTPUT" fi env: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 - name: Build run: cargo build --features=${{ matrix.features }} -vv - env: - PATH: ${{ steps.install-llvm.outputs.path }} - name: Run afl-system-config run: cargo run --features=${{ matrix.features }} -- afl system-config - name: Build examples (with AFL instrumentation)