summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2021-09-17 10:01:12 +0000
committerNicholas Clark <nick@ccl4.org>2021-09-26 08:51:18 +0000
commita87db5c7330d57ff2f3a8f9a647720e5d1a9eeeb (patch)
treeb09e0ee01f0abefacd96d3b7b7e6bdef873a6d07 /.github
parentce8fb9cc5eddb45166582ba03cd727bedb623536 (diff)
downloadperl-a87db5c7330d57ff2f3a8f9a647720e5d1a9eeeb.tar.gz
Test `make install` in the GH workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yml43
1 files changed, 42 insertions, 1 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index e0da6d76c5..3a132ce7b1 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -127,7 +127,7 @@ jobs:
CONFIGURE_ARGS:
- "-Uusethreads"
#- "-Dusethreads" # already tested above by sanity_check
- - "-Duseshrplib -Dusesitecustomize -Duselongdouble"
+ #- "-Duseshrplib -Dusesitecustomize -Duselongdouble" # tested below by install
- "-Duseshrplib -Dusequadmath -Dusecbacktrace -Dusethreads"
- "-Duserelocatableinc"
- "-Dcc='clang'"
@@ -208,6 +208,47 @@ jobs:
run: |
MALLOC_PERTURB_=254 MALLOC_CHECK_=3 make -j2 test
+ # _ _ _ _ _
+ # _ __ ___ __ _| | _____ (_)_ __ ___| |_ __ _| | |
+ # | '_ ` _ \ / _` | |/ / _ \ | | '_ \/ __| __/ _` | | |
+ # | | | | | | (_| | < __/ | | | | \__ \ || (_| | | |
+ # |_| |_| |_|\__,_|_|\_\___| |_|_| |_|___/\__\__,_|_|_|
+
+ install:
+ runs-on: ubuntu-latest
+ timeout-minutes: 120
+ needs: sanity_check
+ if: needs.sanity_check.outputs.run_all_jobs == 'true'
+
+ 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: Configure
+ run: |
+ ./Configure -des -Dusedevel -Duseshrplib -Dusesitecustomize -Duselongdouble -Dprefix="$HOME/perl-blead" -DDEBUGGING
+ - name: Build
+ run: |
+ MALLOC_PERTURB_=254 MALLOC_CHECK_=3 make -j2
+ - name: Show Config
+ run: |
+ LD_LIBRARY_PATH=. ./perl -Ilib -V
+ LD_LIBRARY_PATH=. ./perl -Ilib -e 'use Config; print Config::config_sh'
+ - name: Run Tests
+ run: |
+ MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 test_harness
+ - name: Install
+ run: |
+ MALLOC_PERTURB_=254 MALLOC_CHECK_=3 TEST_JOBS=2 make -j2 install
+ # This will only pass if libperl.so and Config.pm are correctly installed:
+ - name: Show Install
+ run: |
+ ./perl -V
+
# ___ ___
# _ __ __ _ __ / _ \/ __|
# | ' \/ _` / _| (_) \__ \