Browse Source

add c template test

tags/v0.3.5-rc0
XxChang 1 year ago
parent
commit
436577ddc7
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      .github/workflows/ci.yml

+ 20
- 0
.github/workflows/ci.yml View File

@@ -318,6 +318,7 @@ jobs:
timeout-minutes: 30
# fail-fast by using bash shell explictly
shell: bash
runs-on: ubuntu-latest
run: |
# Test C template Project
dora new test_c_project --lang c
@@ -331,6 +332,25 @@ jobs:
sleep 10
dora stop --name ci-c-test --grace-duration 5s
dora destroy
- name: "Test CLI (C++)"
timeout-minutes: 30
# fail-fast by using bash shell explictly
shell: bash
runs-on: ubuntu-latest
run: |
# Test C++ template Project
dora new test_cxx_project --lang c++
cd test_cxx_project
dora up
dora list
cmake -B build
cmake --build build
cmake --install build
dora start dataflow.yml --name ci-cxx-test
sleep 10
dora stop --name ci-cxx-test --grace-duration 5s
dora destroy
clippy:
name: "Clippy"
runs-on: ubuntu-latest


Loading…
Cancel
Save