-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 861 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: CI
on:
pull_request:
branches: [master]
schedule: [cron: "6 */24 * * *"]
jobs:
build-and-simulate:
name: Build and Simulate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Check out Spinal-CocotbLib code
uses: actions/checkout@v2
with:
repository: SpinalHDL/CocotbLib
path: ./SpinalNet/test/src/python/cocotblib
- name: Run
run: |
sudo apt-get update
sudo apt-get install -y iverilog verilator
# Local install Cocotb and set PATH env
pip3 install cocotb
export PATH="$HOME/.local/bin:$PATH"
./run.sh
- name: Setup tmate session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3