summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2019-12-20 10:55:53 -0700
committerNicolas R <atoomic@cpan.org>2019-12-20 11:36:50 -0700
commit9692133e7452996ad3e97e77880ac07953d3b6c3 (patch)
tree7a27ded94b9c2d5b74a3171ff3aaa05fbad3f4d2 /.github
parent5ce31174093ee15128a467a655bfe93a4a069157 (diff)
downloadperl-9692133e7452996ad3e97e77880ac07953d3b6c3.tar.gz
Add a basic linux smoke GitHub Action
In addition to Travis CI, it will not hurt to have some additional linux smokers running. We can see overtime if we want to keep one or the other. ♪ Let it Smoke, Let it Smoke ♫♫♫♬♭ Note: GitHub allow a total of 20 concurrent jobs.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/smoke-linux.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/smoke-linux.yml b/.github/workflows/smoke-linux.yml
new file mode 100644
index 0000000000..40abd7b363
--- /dev/null
+++ b/.github/workflows/smoke-linux.yml
@@ -0,0 +1,43 @@
+name: smoke-linux
+
+on:
+ push:
+ branches:
+ - '**'
+ tags-ignore:
+ - '*'
+ pull_request:
+
+
+jobs:
+ perl:
+
+ runs-on: ubuntu-latest
+
+ env:
+ PERL_SKIP_TTY_TEST: 1
+
+ strategy:
+ matrix:
+ # exercise a variety of build options
+ # threads often cause build issues
+ CONFIGURE_ARGS:
+ - "-Uusethreads"
+ - "-Dusethreads"
+ - "-DPERL_GLOBAL_STRUCT_PRIVATE"
+ - "-Duseshrplib -Dusesitecustomize -Duselongdouble PERL_UNICODE='' LANG='en_US.UTF-8'"
+ - "-Duseshrplib -Dusequadmath -Dusecbacktrace -Dusethreads PERL_UNICODE='' LANG='de_DE.UTF-8'"
+
+ steps:
+ - uses: actions/checkout@master
+ with:
+ fetch-depth: 10
+ - name: Configure
+ run: |
+ sh ./Configure -des -Dusedevel ${{ matrix.CONFIGURE_ARGS }} -Dprefix=$HOME/perl-blead -DDEBUGGING
+ - name: Build
+ run: |
+ make -j2
+ - name: Run Tests
+ run: |
+ TEST_JOBS=2 make -j2 test