File tree Expand file tree Collapse file tree 3 files changed +28
-21
lines changed Expand file tree Collapse file tree 3 files changed +28
-21
lines changed Original file line number Diff line number Diff line change
1
+ # DESCRIPTION: Github actions config
2
+ name : build
3
+
4
+ on :
5
+ push :
6
+ pull_request :
7
+ schedule :
8
+ - cron : ' 0 0 * * 0' # weekly
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-20.04
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v2
16
+
17
+ # This uses the ":stable" version of Verilator, you may prefer ":latest"
18
+ # We run make from inside the container, overriding default entry point (Verilator binary itself)
19
+ # You may prefer to build install Verilator from git locally (slower but avoids docker)
20
+ - name : Verilate
21
+ run : docker run -v ${PWD}:/work --user $(id -u):$(id -g) -e CCACHE_DIR=/work/.ccache --entrypoint make verilator/verilator:stable
22
+
23
+
24
+ - name : Publish
25
+ run : bash <(curl -s https://codecov.io/bash)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# SystemVerilog Verilator Codecov Tutorial
2
2
3
- [ ![ Travis CI logo] ( TravisCI.png )] ( https://travis-ci.org )
4
- ![ Whitespace] ( Whitespace.png )
5
3
[ ![ Codecov logo] ( Codecov.png )] ( https://www.codecov.io )
6
4
![ Whitespace] ( Whitespace.png )
7
5
[ ![ Verilator logo] ( verilator_56x48-min.png )] ( https://verilator.org )
8
6
9
- [ ![ Build Status] ( https://travis-ci.org/verilator/example-systemverilog.svg?branch=master )] ( https://travis-ci.org/verilator/example-systemverilog )
7
+ [ ![ Build Status] ( https://github.com/verilator/example-systemverilog/workflows/build/badge.svg )] ( https://github.com/verilator/example-systemverilog-mode/actions?query=workflow%3Abuild )
8
+
10
9
[ ![ codecov.io] ( https://codecov.io/github/verilator/example-systemverilog/coverage.svg?branch=master )] ( https://codecov.io/github/verilator/example-systemverilog?branch=master )
11
10
12
11
This GitHub is part of [ the SystemVerilog Verilator Codecov Tutorial] ( https://github.com/verilator/example-systemverilog ) .
13
12
14
13
The goal of this project is to demonstrate a SystemVerilog project with:
15
14
* Verilator
16
15
* C++ compiler: ` g++ `
17
- * Travis- CI running Docker
16
+ * GitHub actions CI running Docker
18
17
* Code coverage with ` verilator_coverage ` (note: it should show the code coverage is below 100%)
19
18
* Code coverage published in CodeCov.
20
19
You can’t perform that action at this time.
0 commit comments