-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add dev build to serve as canary
Hopefully to fail earlier and including some non standard options
- Loading branch information
Showing
3 changed files
with
34 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Dev | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
name: dev | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Autogen | ||
run: ./autogen.sh | ||
|
||
- name: Configure | ||
run: ./configure CC='gcc -fsanitize=undefined,address' CPPFLAGS='-Wall -Wextra -Werror -Wno-error=unused-but-set-parameter' --enable-jit --enable-pcre2-16 --enable-pcre2-32 --enable-debug --with-link-size=4 | ||
|
||
- name: Build | ||
run: make -j2 | ||
|
||
- name: Test (main test script) | ||
run: ./RunTest | ||
|
||
- name: Test (JIT test program) | ||
run: ./pcre2_jit_test | ||
|
||
- name: Test (pcre2grep test script) | ||
run: ./RunGrepTest | ||
|
||
- name: Test (pcre2posix test program) | ||
run: ./pcre2posix_test -v |
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