Skip to content

Commit 9401ba2

Browse files
authored
Merge pull request #116 from chp-io/ci-shim
CI: Add a Shim job to compile the shim
2 parents 1bacbd1 + b060d46 commit 9401ba2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ccpp.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,25 @@ jobs:
167167
ninja unittest
168168
shell: bash
169169

170+
Shim:
171+
runs-on: ubuntu-20.04
172+
steps:
173+
- uses: actions/checkout@v2
174+
with:
175+
path: microv
176+
- name: Setup
177+
run: |
178+
sudo apt-get update
179+
sudo apt-get install -y clang lld cmake ninja-build
180+
shell: bash
181+
- name: Validate Shim Driver Build
182+
run: |
183+
mkdir build && cd build
184+
cmake -GNinja -DCMAKE_CXX_COMPILER="clang++" -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_EXAMPLES=ON ../microv
185+
ninja shim_clean
186+
ninja shim_build
187+
shell: bash
188+
170189
Codecov:
171190
runs-on: ubuntu-20.04
172191
steps:

0 commit comments

Comments
 (0)