-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ngn13/1.5-dev
1.5
- Loading branch information
Showing
69 changed files
with
1,703 additions
and
4,802 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
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
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,41 @@ | ||
name: Run Test Scripts | ||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'checkout the source code' | ||
uses: actions/checkout@v3 | ||
|
||
- name: 'install dependencies' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y gcc make libcjson-dev | ||
- name: 'build the library' | ||
run: make | ||
|
||
- name: 'install the library' | ||
run: sudo make install | ||
|
||
- name: 'build the examples' | ||
run: make example | ||
|
||
- name: 'run example #1' | ||
run: | | ||
./dist/example_hello & | ||
./scripts/hello_test.sh | ||
killall -9 example_hello | ||
- name: 'run example #2' | ||
run: | | ||
./dist/example_echo & | ||
./scripts/echo_test.sh | ||
killall -9 example_echo | ||
- name: 'run example #3' | ||
run: | | ||
./dist/example_middleware & | ||
./scripts/middleware_test.sh | ||
killall -9 example_middleware |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
# dist directory for examples and the library | ||
dist/ |
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.