-
Notifications
You must be signed in to change notification settings - Fork 16
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 #15 from wolfSSL/basic-ci
Create build-and-test.yml
- Loading branch information
Showing
1 changed file
with
31 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,31 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
branches: [ 'master', 'main', 'release/**' ] | ||
pull_request: | ||
branches: [ '*' ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
|
||
# pull and build wolfssl | ||
- name: Checkout wolfssl | ||
uses: actions/checkout@master | ||
with: | ||
repository: wolfssl/wolfssl | ||
path: wolfssl | ||
|
||
# Build and test debug build with ASAN | ||
- name: Build and test ASAN DEBUG | ||
run: cd test && make DEBUG=1 ASAN=1 WOLFSSL_DIR=../wolfssl run | ||
|
||
# Build and test standard build | ||
- name: Build and test | ||
run: cd test && make WOLFSSL_DIR=../wolfssl run | ||
|