aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml29
1 files changed, 20 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae2602d9..2296cfe8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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-8 --enable-pcre2-16 --enable-pcre2-32
+ 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
@@ -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
@@ -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-8 --enable-pcre2-16 --enable-pcre2-32
+ 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
@@ -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
@@ -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
@@ -102,4 +113,4 @@ jobs:
run: |
cd build\Debug
..\..\RunTest.bat
-
+ ./pcre2posix_test -v