mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 12:51:01 +02:00
feat: add static build to ci
This commit is contained in:
parent
c1663a83d3
commit
61a045bd33
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -45,8 +45,8 @@ jobs:
|
|||
- name: Check static build of the linux version
|
||||
run: |
|
||||
if ldd croc-linux-amd64 2>&1 | grep -q "not a dynamic executable"; then
|
||||
echo "Static build confirmed."
|
||||
echo "Static build confirmed."
|
||||
else
|
||||
echo "Error: croc-linux-amd64 is a dynamic executable."
|
||||
exit 1
|
||||
echo "Error: croc-linux-amd64 is a dynamic executable."
|
||||
exit 1
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue