Skip to content

Commit

Permalink
github: set PATH as part of build step
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Cross <[email protected]>
  • Loading branch information
xobs committed Jun 18, 2024
1 parent e1c8c32 commit d82d6c7
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ jobs:
- name: Setup riscv gnu/gcc toolchain
uses: gregdavill/setup-riscv-gnu-toolchain@v2

- name: Add riscv gnu/gcc toolchain to the path
shell: bash
run: |
echo "=== $RUNNER_TEMP/.setup-riscv-gnu-toolchain/bin:"
ls -la $RUNNER_TEMP/.setup-riscv-gnu-toolchain/bin
echo "=== $RUNNER_TEMP/.setup-riscv-gnu-toolchain/riscv-none-elf/bin:"
ls -la $RUNNER_TEMP/.setup-riscv-gnu-toolchain/riscv-none-elf/bin
echo "${RUNNER_TEMP}/.setup-riscv-gnu-toolchain/bin" >> $GITHUB_PATH
- name: Checkout repo
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -100,6 +89,7 @@ jobs:
working-directory: build/rust
run: |
export RUST_COMPILER_RT_ROOT=$(pwd)/src/llvm-project/compiler-rt \
&& export PATH=${RUNNER_TEMP}/.setup-riscv-gnu-toolchain/bin:$PATH \
&& rm -rf target \
&& cargo build \
--target riscv32imac-unknown-xous-elf \
Expand Down

0 comments on commit d82d6c7

Please sign in to comment.