forked from sympa-community/sympa
-
Notifications
You must be signed in to change notification settings - Fork 2
50 lines (48 loc) · 1.42 KB
/
upload-dist.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
on:
push:
branches:
- 'sympa-6.2'
tags-ignore:
- '*'
jobs:
upload-dist:
runs-on: ubuntu-latest
strategy:
fail-fast: false
name: Perl 5 on ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies for Linux
run: |
sudo apt update -y
sudo apt install -y gettext
- name: Set up Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: 5
install-modules-with: cpanm
install-modules-args: >
--verbose --no-interactive
--with-develop
--with-feature=Data::Password --with-feature=ldap
--with-feature=safe-unicode --with-feature=smime
--with-feature=soap --with-feature=sqlite
- name: Make distribution
run: |
# Workaround to avoid reference to older libcrypto by perl binary
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
support/git-set-file-times
autoreconf -i
./configure --enable-fhs --with-confdir=/etc/sympa \
--with-defaultdir=`pwd`/default
make distcheck
shell: bash
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
path: |
sympa-*.tar.gz
sympa-*.tar.gz.md5
sympa-*.tar.gz.sha256
sympa-*.tar.gz.sha512
if-no-files-found: error