-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Enable C unit tests for workflow (#128)
- Loading branch information
1 parent
51fcaba
commit 728fbcd
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: C Unit tests | ||
|
||
on: [push, pull_request,repository_dispatch] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
unitTests: | ||
name: C unit tests | ||
runs-on: macos-latest | ||
env: | ||
GEN: ninja | ||
|
||
steps: | ||
- name: Install Ninja | ||
run: brew install ninja | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
|
||
- name: Build Substrait with C unit test | ||
run: make release_c_unit_test | ||
|
||
- name: Run C unit tests | ||
run: ./build/release/extension/substrait/test/c/test_substrait_exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters