Skip to content

Commit 5ab75ae

Browse files
authored
Update main.yml
1 parent 8913fdc commit 5ab75ae

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
name: Icarus Simulation
1+
name: Verilator Simulation
22

33
on:
4-
push:
5-
branches: [master]
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
68

79
jobs:
8-
build-container:
10+
run-container:
911
runs-on: ubuntu-latest
1012
defaults:
1113
run:
14+
shell: bash
1215
working-directory: ./
1316
steps:
1417
- name: Check out the repository to the runner
15-
uses: actions/checkout@v1
16-
- name: Build the docker image
17-
uses: docker/build-push-action@v2
18-
# run: docker build . --file Dockerfile --tag icarus-simulation:$(date +%s)
19-
# - name: Make the script file executable
20-
# run: chmod +x ./.github/workflows/iverilog_run.sh
21-
# - name: Run icarus
22-
# run: ./.github/workflows/iverilog_run.sh
23-
# shell: bash
18+
uses: actions/checkout@v2
19+
- name: Run Docker container
20+
uses: addnab/docker-run-action@v3
21+
with:
22+
image: r0d0s/fpga_tools:v1.1
23+
run: |
24+
git clone --recurse-submodules https://github.com/RDSik/verilog-transceiver.git
25+
cd verilog-transceiver
26+
make

0 commit comments

Comments
 (0)