Skip to content

Commit 4a85a8a

Browse files
test with debian-perl:testarm64
1 parent 6fb49ea commit 4a85a8a

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

.github/workflows/build_workflow.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,40 @@ name: Build workflow
22
run-name: Build workflow
33
on:
44
pull_request:
5+
push:
6+
branches-ignore:
7+
- 'master'
58
concurrency:
69
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.run_id }}
710
cancel-in-progress: true
811
jobs:
912
build:
10-
runs-on: ubuntu-24.04-arm64
13+
runs-on: ubuntu-latest
1114
steps:
12-
- name: test arm64
13-
run: echo $(arch)
15+
- name: Set up QEMU
16+
uses: docker/setup-qemu-action@v3
17+
with:
18+
platforms: arm64
19+
20+
- name: Checkout
21+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4
22+
23+
- name: Login to Docker Hub
24+
uses: docker/login-action@v3
25+
with:
26+
username: circle4regentmarkets
27+
password: ${{ secrets.DOCKER_PASSWORD }}
28+
- name: Run in ARM64 container
29+
uses: addnab/docker-run-action@v3
30+
with:
31+
image: regentmarkets/debian-perl:testarm64
32+
options: --platform=linux/arm64
33+
run: |
34+
cd /home/git/binary-com/perl/perl-5.26.2
35+
zcat ../patches/0001-Fix-Time-Local-tests.patch.gz | patch -p1 --verbose || exit 1
36+
patch -Np1 < ../patches/999-fix-build-failure-against-gcc-10.patch
37+
./Configure -Dusesitecustomize -Dinc_version_list=none -Dprefix=/home/git/binary-com/perl -Dsitelib=/home/git/regentmarkets/cpan-private/local/lib/perl5 -Dsitearch=/home/git/regentmarkets/cpan-private/local/lib/perl5/x86_64-linux -Dvendorprefix=/home/git/regentmarkets/cpan/local -Dvendorlib=/home/git/regentmarkets/cpan/local/lib/perl5 -Dvendorarch=/home/git/regentmarkets/cpan/local/lib/perl5/x86_64-linux -Duselargefiles -Dccflags="-DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" -Dldflags=" -Wl,-z,relro" -Dlddlflags="-shared -Wl,-z,relro" -Dcccdlflags="-fPIC" -Duse64bitint -Dman1dir=none -Dman3dir=none -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Uuseithreads -Uusemultiplicity -Ui_libutil -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -des
38+
make
39+
make test
40+
make install
41+

0 commit comments

Comments
 (0)