Skip to content

Commit

Permalink
Strip the resulting executable manually
Browse files Browse the repository at this point in the history
Workaround for haskell/cabal#7236
  • Loading branch information
dminuoso committed Dec 9, 2021
1 parent ec016ce commit 8e26298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@ build:linux:
- cabal build powerdns-gerd:test:powerdns-gerd-test
- cp $(cabal -v0 list-bin powerdns-gerd:test:powerdns-gerd-test) build/test/powerdns-gerd-test
- cp $(cabal -v0 list-bin powerdns-gerd) build/powerdns-gerd
- strip build/powerdns-gerd
- cp test/powerdns-gerd.test.conf build/test/powerdns-gerd.test.conf

build:linux:static:
@@ -54,6 +55,7 @@ build:linux:static:
- cp .ci/static.cabal.project cabal.project.local
- cabal build powerdns-gerd:exe:powerdns-gerd
- cp $(cabal -v0 list-bin powerdns-gerd) build/powerdns-gerd
- strip build/powerdns-gerd

testExampleConfig:
stage: test

0 comments on commit 8e26298

Please sign in to comment.