diff options
author | Tim Newsome <tim@sifive.com> | 2023-07-18 10:59:27 -0700 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2023-07-18 11:08:17 -0700 |
commit | ee0a8605eafa1a33fc6fb4795bba09e55ba6b649 (patch) | |
tree | bbc2559d1b85923d35c567b79ae1298c9380f2fd /.github | |
parent | fb284475a8cf59407c240c609e85e6e5216176ad (diff) | |
download | riscv-openocd-ee0a8605eafa1a33fc6fb4795bba09e55ba6b649.zip riscv-openocd-ee0a8605eafa1a33fc6fb4795bba09e55ba6b649.tar.gz riscv-openocd-ee0a8605eafa1a33fc6fb4795bba09e55ba6b649.tar.bz2 |
Run spike tests on `riscv` branch.
The main reason is to populate the cache, so that pull requests can
benefit from a spike cache even the very first time. (Caches populated
in one pull request are inaccessible to another one.)
Change-Id: If894f2ccfaadc740bd52e34be3024153626b9fbd
Signed-off-by: Tim Newsome <tim@sifive.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/spike-openocd-tests.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/spike-openocd-tests.yml b/.github/workflows/spike-openocd-tests.yml index 72cc6ea..34c3063 100644 --- a/.github/workflows/spike-openocd-tests.yml +++ b/.github/workflows/spike-openocd-tests.yml @@ -9,7 +9,14 @@ env: RISCV_TESTS_REV: master 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 +on: + # Run on merges to master to populate the cache with entities that are + # accessible by every pull request. + push: + branches: + - riscv + pull_request: + types: [synchronize, opened, reopened] # There is some commented out code below that would be useful in adding this # workflow to other repos. Ideally we can come up with something that would |