Skip to content

Commit

Permalink
Merge pull request #253 from chipsalliance/wsip/ci_fix
Browse files Browse the repository at this point in the history
CI fix: use docker image
  • Loading branch information
tmichalak authored Oct 24, 2024
2 parents d4e3593 + 0ec4c4d commit ad30bae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 135 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/build-openocd.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/build-spike.yml

This file was deleted.

12 changes: 5 additions & 7 deletions .github/workflows/report-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,16 @@ jobs:
coverage-report:
name: Coverage report
runs-on: ubuntu-latest
container: ghcr.io/antmicro/cores-veer-el2:latest
env:
DEBIAN_FRONTEND: "noninteractive"

steps:
- name: Install dependencies
run: |
sudo apt -qqy update && sudo apt -qqy --no-install-recommends install \
git cpanminus
sudo cpanm Capture::Tiny DateTime DateTime::Format::W3CDTF Devel::Cover \
Digest::MD5 File::Spec JSON::XS Memory::Process Time::HiRes Bit::Vector
- name: Setup repository
uses: actions/checkout@v3

- name: install SiteSpawner package
shell: bash
run: |
python3 -m venv .venv
.venv/bin/python3 -m pip install tools/SiteSpawner
Expand All @@ -32,11 +27,13 @@ jobs:
# This step is needed to have the same VeeR codebase as used in tests
- name: Configure VeeR
shell: bash
run: |
export RV_ROOT=`pwd`
make defines.h -f $RV_ROOT/tools/Makefile
- name: Setup lcov
shell: bash
run: |
git clone https://github.com/linux-test-project/lcov
pushd lcov
Expand Down Expand Up @@ -81,6 +78,7 @@ jobs:
path: ./

- name: Generate reports
shell: bash
run: |
export PATH=${{ env.LCOV_PATH }}:${PATH}
sis -d reports . --report-dir report --src-pattern \*design\*
Expand Down

0 comments on commit ad30bae

Please sign in to comment.