Skip to content

Commit

Permalink
fix test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dav009 committed Sep 24, 2023
1 parent c61ca5d commit ccfe610
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,21 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}

- name: Display Go version
run: go version

- name: Install dependencies
run: go get .

- name: Build
run: go build -v ./...
env:
CC: clang
CXX: clang++

- name: Test with the Go CLI
run: go test
env:
CC: clang
CXX: clang++
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# .goreleaser.yml
project_name: bqt
builds:
- env: [CGO_ENABLED=1]
- env: [CGO_ENABLED=1, CC=clang, CXX=clang++]
goos:
- linux
- darwin
Expand Down

0 comments on commit ccfe610

Please sign in to comment.