-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
30 lines (27 loc) · 946 Bytes
/
.gitlab-ci.yml
File metadata and controls
30 lines (27 loc) · 946 Bytes
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
before_script:
- apt update
.build-template:
image: forthy42/gforth-builder-linux-$ARCH:$DISTRIBUTION
script:
- ./install-deps.sh $DISTRIBUTION $ARCH
- ./autogen.sh
- export BARCH=$(bash --version | grep -w bash | sed -e 's/.*(\([^ ]*\))$/\1/g')
- ./configure --host=$BARCH --build=$BARCH
- make -j`nproc` libs
- make install-libs
- make distclean
- for i in bdelta keccak-low threefish ed25519-donna; do (cd $i; dpkg-buildpackage -uc -us -d -b -a$ARCH); done
- dpkg-buildpackage -uc -us -d -b -a$ARCH
- mkdir -p debian/$DISTRIBUTION/$ARCH
- rm -f debian/$DISTRIBUTION/$ARCH/*.deb
- mv ../*.deb *.deb debian/$DISTRIBUTION/$ARCH/
# The files which are to be made available in GitLab
artifacts:
paths:
- debian/$DISTRIBUTION/$ARCH/*.deb
build:
extends: .build-template
parallel:
matrix:
- DISTRIBUTION: [unstable, stable, oldstable]
ARCH: [amd64, i386]