Skip to content

Commit

Permalink
[do not merge] change riscv-tests version
Browse files Browse the repository at this point in the history
Since the warning message was changed, repeat read output's parsing
needed to be changed as well.
Please, see riscv-software-src/riscv-tests#486

Change-Id: I8d6cf2881c1e44bb3e8348ffc61da9731fde537b
Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
  • Loading branch information
en-sc committed Jul 6, 2023
1 parent 41027e6 commit 291433c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/spike-openocd-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
SPIKE_REPO: https://github.com/riscv-software-src/riscv-isa-sim.git
SPIKE_REV: master
RISCV_TESTS_REPO: https://github.com/riscv-software-src/riscv-tests.git
RISCV_TESTS_REV: master
RISCV_TESTS_REV: refs/pull/486/head
TOOLCHAIN_URL: https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.2.0-1/xpack-riscv-none-elf-gcc-12.2.0-1-linux-x64.tar.gz

on: pull_request
Expand All @@ -30,8 +30,8 @@ jobs:
- name: Get revisions of dependencies
run: |
SPIKE_COMMIT=$( git ls-remote "$SPIKE_REPO" master | awk '{ print $1; }' )
RISC_V_TESTS_COMMIT=$( git ls-remote "$RISCV_TESTS_REPO" master | awk '{ print $1; }' )
SPIKE_COMMIT=$( git ls-remote "$SPIKE_REPO" "$SPIKE_REV" | awk '{ print $1; }' )
RISC_V_TESTS_COMMIT=$( git ls-remote "$RISCV_TESTS_REPO" "$RISCV_TESTS_REV" | awk '{ print $1; }' )
echo "Revison of Spike: $SPIKE_COMMIT"
echo "Revision of RISC-V tests: $RISC_V_TESTS_COMMIT"
# Save for later use
Expand Down Expand Up @@ -97,7 +97,8 @@ jobs:
run: |
git clone "$RISCV_TESTS_REPO"
cd riscv-tests
git checkout "$RISCV_TESTS_REV"
git fetch origin "$RISCV_TESTS_REV"
git checkout FETCH_HEAD
git submodule update --init --recursive
- name: Run Tests
Expand Down

0 comments on commit 291433c

Please sign in to comment.