Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Autogen
- name: Prepare
run: ./autogen.sh

- name: Configure
run: ./configure CPPFLAGS='-Wall -Wextra' --enable-jit --enable-pcre2-16 --enable-pcre2-32

- name: Build
run: make
run: make -j2

- name: Test (main test script)
run: ./RunTest
Expand All @@ -28,6 +28,9 @@ jobs:
- name: Test (pcre2grep test script)
run: ./RunGrepTest

- name: Test (pcre2posix program)
run: ./pcre2posix_test -v

alpine:
name: alpine
runs-on: ubuntu-latest
Expand All @@ -37,16 +40,16 @@ jobs:
uses: actions/checkout@v3

- name: Setup
run: apk add --no-cache automake autoconf gcc libtool make musl-dev
run: apk add --no-cache automake autoconf gcc libtool make musl-dev #musl-locales

- name: Autogen
- name: Prepare
run: ./autogen.sh

- name: Configure
run: ./configure CPPFLAGS='-Wall -Wextra' --enable-jit --enable-pcre2-16 --enable-pcre2-32

- name: Build
run: make
run: make -j2

- name: Test (main test script)
run: ./RunTest
Expand All @@ -56,7 +59,10 @@ jobs:

- name: Test (pcre2grep test script)
run: ./RunGrepTest


- name: Test (pcre2posix program)
run: ./pcre2posix_test -v

macos:
name: macOS universal
runs-on: macos-latest
Expand Down Expand Up @@ -85,6 +91,11 @@ jobs:
cd build
../RunGrepTest

- name: Test (pcre2posix program)
run: |
cd build
./pcre2posix_test -v

windows:
name: 32bit Windows
runs-on: windows-latest
Expand All @@ -102,4 +113,4 @@ jobs:
run: |
cd build\Debug
..\..\RunTest.bat
./pcre2posix_test -v
34 changes: 28 additions & 6 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
name: Dev
on: [push, pull_request]
on:
pull_request:
branches:
- master

jobs:
linux:
name: dev

canary:
name: basic
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Autogen
- name: Prepare
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
run: make -j3

- name: Test (main test script)
run: ./RunTest
Expand All @@ -27,5 +31,23 @@ jobs:
- name: Test (pcre2grep test script)
run: ./RunGrepTest

- name: Test (pcre2posix test program)
- name: Test (pcre2posix program)
run: ./pcre2posix_test -v

bigbird:
name: manyconfig
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y valgrind

- name: Run
run: |
./autogen.sh
./maint/ManyConfigTests