summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2021-09-17 08:32:21 +0000
committerNicholas Clark <nick@ccl4.org>2021-09-26 08:51:18 +0000
commit99ecd386fe89b62ce54fae653cab0890eac38158 (patch)
treef867b91007ab6832329053e34c6a48b041f419c8 /.github
parentd43f37da28627883b5ed5cbe91039682ddca000e (diff)
downloadperl-99ecd386fe89b62ce54fae653cab0890eac38158.tar.gz
CI tests for PERL_UNICODE="" with a UTF-8 locale
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index 12335c2608..317cd3512f 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -482,3 +482,51 @@ jobs:
- name: Run Tests
run: |
PERL_DESTRUCT_LEVEL=2 TEST_JOBS=2 make -j2 test_harness
+
+ # ____ _____ ____ _ _ _ _ _ ___ ____ ___ ____ _____
+ # | _ \| ____| _ \| | | | | | \ | |_ _/ ___/ _ \| _ \| ____|
+ # | |_) | _| | |_) | | | | | | \| || | | | | | | | | | _|
+ # | __/| |___| _ <| |___ | |_| | |\ || | |__| |_| | |_| | |___
+ # |_| |_____|_| \_\_____|___\___/|_| \_|___\____\___/|____/|_____|
+ # |_____|
+
+ # To the pain!
+
+ PERL_UNICODE:
+ name: "PERL_UNICODE"
+ runs-on: ubuntu-latest
+ timeout-minutes: 120
+ needs: sanity_check
+ if: needs.sanity_check.outputs.run_all_jobs == 'true'
+
+ strategy:
+ matrix:
+ # There are many many combinations we *could* test. These two are likely
+ # to give the best overview - "basic sanity" and "everything maxed out"
+ CONFIGURE_ARGS:
+ - "-Uusethreads"
+ - "-Dusethreads -Accflags=-DPURIFY -Dcc='gcc -fsanitize=address' -Dld='gcc -fsanitize=address'"
+
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - name: git cfg + fetch tags
+ run: |
+ git config diff.renameLimit 999999
+ git fetch --depth=1 origin +refs/tags/*:refs/tags/*
+ - name: Show Locales
+ run: locale -a
+ - name: Configure
+ run: |
+ ./Configure -des -Dusedevel ${{ matrix.CONFIGURE_ARGS }} -Dprefix="$HOME/perl-blead"
+ - name: Build
+ run: |
+ LC_ALL=en_US.UTF-8 PERL_UNICODE="" PERL_DESTRUCT_LEVEL=2 make -j2
+ - name: Show Config
+ run: |
+ ASAN_OPTIONS=detect_leaks=0 ./perl -Ilib -V
+ ASAN_OPTIONS=detect_leaks=0 ./perl -Ilib -e 'use Config; print Config::config_sh'
+ - name: Run Tests
+ run: |
+ PERL_DESTRUCT_LEVEL=2 LC_ALL=en_US.UTF-8 PERL_UNICODE="" PERL_DESTRUCT_LEVEL=2 TEST_JOBS=2 make -j2 test_harness