Skip to content

Commit

Permalink
macOS static version test
Browse files Browse the repository at this point in the history
  • Loading branch information
swazau committed Jun 24, 2024
1 parent d21f41e commit 5733936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ jobs:

- name: Build gocryptfs
run: |
go build -ldflags "-X github.com/rfjakob/gocryptfs/v2/internal/configfile.GitVersion=${{ env.version }} -X github.com/rfjakob/gocryptfs/v2/internal/configfile.GitVersionFuse=${{ env.version }} -X github.com/rfjakob/gocryptfs/v2/internal/configfile.BuildDate=$(date +%Y-%m-%d)" -o gocryptfs
go build -ldflags "-X main.GitVersion=${{ env.version }} -X main.GitVersionFuse=${{ env.version }} -X main.BuildDate=$(date +%Y-%m-%d) \
-linkmode external -extldflags '-fno-PIC -static'" -buildmode=pie -tags without_openssl -o gocryptfs
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5733936

Please sign in to comment.