Skip to content

Commit

Permalink
fix circleci cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
DStrand1 committed May 21, 2024
1 parent 7a770d1 commit e43c2e7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ commands:
equal: [ "386", << parameters.arch >> ]
steps:
- run: echo 'export RACE="-race"' >> $BASH_ENV
- unless:
condition:
equal: [ "darwin", << parameters.os >> ]
steps:
- run: echo 'export RACE="-race -ldflags=-extldflags=-Wl,-ld_classic"' >> $BASH_ENV
- when:
condition:
equal: [ windows, << parameters.os >> ]
steps:
- run: echo 'export CGO_ENABLED=1' >> $BASH_ENV
- when:
condition:
equal: [ darwin, << parameters.os >> ]
steps:
- run: echo 'export RACE="$RACE -ldflags=-extldflags=-Wl,-ld_classic"' >> $BASH_ENV
- run: |
GOARCH=<< parameters.arch >> ./<< parameters.gotestsum >> -- ${RACE} -short ./...
package-build:
Expand Down

0 comments on commit e43c2e7

Please sign in to comment.