Skip to content

Commit

Permalink
try build against armv6
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Jan 23, 2024
1 parent ecdf1e0 commit 8d1f5d4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-and-test-make.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
uses: actions/checkout@v2

- name: Run configure script
if: ${{ matrix.arch != 'arm' }}
uses: addnab/docker-run-action@v3
with:
image: curl-impersonate-builder
Expand All @@ -91,6 +92,24 @@ jobs:
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
--with-libnssckbi=/usr/lib/${{ matrix.host }}/nss
- name: Run configure script (arm)
if: ${{ matrix.arch == 'arm' }}
uses: addnab/docker-run-action@v3
with:
image: curl-impersonate-builder
options: >
-v ${{ env.runner_home }}:${{ env.runner_home }}
--workdir ${{ github.workspace }}
--user ${{ env.runner_uid }}:${{ env.runner_gid }}
run: |
set -e
mkdir ${{ runner.temp }}/install
./configure CFLAGS="--with-arch=armv6 --with-fpu=vfp --with-float=hard" \
--prefix=${{ runner.temp }}/install \
--with-ca-path=/etc/ssl/certs \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
--with-libnssckbi=/usr/lib/${{ matrix.host }}/nss
# Cache the build of BoringSSL, which is the longest part of the build
# We must cache the .zip as well, otherwise the Makefile will
# rebuild BoringSSL. This whole thing is a bit hacky, but necessary to
Expand Down

0 comments on commit 8d1f5d4

Please sign in to comment.