Skip to content

Commit

Permalink
add gcc for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
urld committed Feb 20, 2022
1 parent b38baca commit 15da31d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install tools
run: sudo apt-get install -y sqlite3
run: sudo apt-get install -y sqlite3 gcc

- uses: actions/checkout@v2

Expand All @@ -22,7 +22,7 @@ jobs:
go-version: 1.17

- name: Build
run: go build -v ./...
run: CGO_ENABLED=1 go build -tags "sqlite_foreign_keys" -v ./...

- name: Test
run: go test -v ./...
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install tools
run: sudo apt-get install -y sqlite3 make upx
run: sudo apt-get install -y sqlite3 make upx gcc gcc-mingw-w64-x86-64

- uses: actions/checkout@v2

Expand Down

0 comments on commit 15da31d

Please sign in to comment.