Skip to content

Commit

Permalink
Fix actions (#1)
Browse files Browse the repository at this point in the history
* Try fixing ci

* Fixed invalid flag

* Add flag for LDFLAGS
  • Loading branch information
OldPanda authored Jan 1, 2021
1 parent 5473b25 commit df430bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.15', '1.14', '1.13' ]
steps:
- uses: actions/checkout@v2
- name: "Setup Golang"
uses: actions/setup-go@v2
with:
go-version: 1.15
go-version: ${{ matrix.go }}
# https://github.com/actions/cache/blob/master/examples.md#go---modules
- name: "Cache Go Modules"
id: cache
Expand Down
1 change: 1 addition & 0 deletions bloomfilter.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package bloomfilter

// #cgo CFLAGS: -Wall
// #cgo LDFLAGS: -lm
// #include<math.h>
import "C"
import (
Expand Down

0 comments on commit df430bf

Please sign in to comment.