Skip to content

Commit 3d3176c

Browse files
Merge pull request #5 from verilog-to-routing/feature-ci
[CI] Added GitHub CI to LibSDCParse
2 parents 7a9e9cc + 23baee5 commit 3d3176c

File tree

2 files changed

+33
-23
lines changed

2 files changed

+33
-23
lines changed

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
workflow_dispatch:
9+
10+
# If this workflow is already running on a PR or branch, cancel it.
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
TestSDCs:
17+
name: 'R: Test SDC Parse'
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: 'Install Dependencies'
23+
run: sudo apt update && sudo apt install -y flex bison
24+
25+
- name: 'Build sdcparse_test'
26+
run: |
27+
cmake -H. -Bbuild -DCMAKE_COMPILE_WARNING_AS_ERROR=on
28+
cmake --build build/ --target sdcparse_test
29+
30+
- name: 'Run SDC Parse Tests'
31+
run: |
32+
cd build/
33+
./../test_sdcs/test_parser.sh ../test_sdcs/

.travis.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)