ci: verify that static executable is static

This commit is contained in:
Robert Vollmert
2022-07-12 23:25:06 +02:00
committed by Robert
parent 8230128ff6
commit 9252ec2509
2 changed files with 24 additions and 0 deletions
+3
View File
@@ -113,9 +113,12 @@ jobs:
uses: ./.github/actions/setup-nix
with:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
tools: tests
- name: Build static executable
run: nix-build -A postgrestStatic
- name: Check static executable
run: postgrest-check-static result/bin/postgrest
- name: Save built executable as artifact
uses: actions/upload-artifact@v3
with: