diff options
Diffstat (limited to '.github/workflows/testsuite.yml')
-rw-r--r-- | .github/workflows/testsuite.yml | 48 |
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 |