Skip to content

Commit

Permalink
Statically link alpine binaries: -ccopt -static
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Nov 12, 2023
1 parent efce731 commit 352189c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/coq-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: make TIMED=1 TIMING=1 -j2 deps
- name: all-except-generated
shell: alpine.sh {0}
run: make TIMED=1 TIMING=1 -j2 all-except-generated
run: make TIMED=1 TIMING=1 -j2 CAMLEXTRAFLAGS="-ccopt -static" all-except-generated
- name: generated-files
shell: alpine.sh {0}
run: make TIMED=1 TIMING=1 -j2 generated-files
Expand Down Expand Up @@ -131,10 +131,10 @@ jobs:
file $prog
echo "::endgroup::"
echo "::group::ldd $prog"
ldd $prog
ldd $prog || true
echo "::endgroup::"
echo "::group::$prog"
./$prog -h || echo "::error::$prog does not run on host" # does not work yet
./$prog -h
echo "::endgroup::"
done
- uses: jirutka/setup-alpine@v1
Expand All @@ -150,7 +150,7 @@ jobs:
file $prog
echo "::endgroup::"
echo "::group::ldd $prog"
ldd $prog
ldd $prog || true
echo "::endgroup::"
echo "::group::$prog"
./$prog -h
Expand Down

0 comments on commit 352189c

Please sign in to comment.