Skip to content

Commit

Permalink
ci: actually fix build command
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Oct 18, 2024
1 parent 37e43a4 commit e2b8c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ frontend:
before_script:
- export GO_LDFLAGS="-s -w -linkmode external -extldflags -static -X main.Tag=$CI_COMMIT_TAG -X main.Commit=$CI_COMMIT_SHA -X 'main.BuildTime=`date -Iseconds`'"
script:
- go build -ldflags "$GO_LDFLAGS" ./cmd/gomuks -o gomuks
- go build -ldflags "$GO_LDFLAGS" -o gomuks ./cmd/gomuks
artifacts:
paths:
- gomuks
Expand Down Expand Up @@ -72,7 +72,7 @@ macos/arm64:
- export PATH=/opt/homebrew/bin:$PATH
- export GO_LDFLAGS="-X main.Tag=$CI_COMMIT_TAG -X main.Commit=$CI_COMMIT_SHA -X 'main.BuildTime=`date '-Iseconds'`'"
script:
- go build -ldflags "$GO_LDFLAGS" ./cmd/gomuks -o gomuks
- go build -ldflags "$GO_LDFLAGS" -o gomuks ./cmd/gomuks
- install_name_tool -change /opt/homebrew/opt/libolm/lib/libolm.3.dylib @rpath/libolm.3.dylib gomuks
- install_name_tool -add_rpath @executable_path gomuks
- install_name_tool -add_rpath /opt/homebrew/opt/libolm/lib gomuks
Expand Down

0 comments on commit e2b8c0e

Please sign in to comment.