Skip to content

Commit

Permalink
fix: split test and build examples in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lchenut committed Oct 4, 2024
1 parent ae7d377 commit 4f8f901
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,7 @@ jobs:
nim --version
nimble --version
nimble test
- name: Build examples
run: |
nimble build_examples
3 changes: 1 addition & 2 deletions webrtc.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ proc runTest(filename: string) =

task test, "Run the test suite":
runTest("runalltests")
exec "nimble build_example"

task build_example, "Build the examples":
task build_examples, "Build the examples":
buildExample("ping")
buildExample("pong")

0 comments on commit 4f8f901

Please sign in to comment.