]> 127.0.0.1 Git - part/.git/commitdiff
Update v0.24.16
authorqydysky <qydysky@foxmail.com>
Sun, 23 Apr 2023 04:18:28 +0000 (04:18 +0000)
committerGitHub <noreply@github.com>
Sun, 23 Apr 2023 04:18:28 +0000 (04:18 +0000)
.github/workflows/test.yml
sqlite/Sqlite.go

index 6516f89711a95aed7f2336c8b6e4630df089cfcb..9fe230bfc22aacf5953f835dbb2feba9d4615931 100644 (file)
@@ -33,4 +33,4 @@ jobs:
         go test -count 1 -timeout 30s -v -race github.com/qydysky/part/msgq
         go test -count 1 -timeout 5s -v -race github.com/qydysky/part/sync
         go test -count 1 -timeout 10s -v -race github.com/qydysky/part/web
-        go test -count 1 -timeout 10s -v -race github.com/qydysky/part/sqlite
+        CC=gcc;CXX=g++;CGO_ENABLED=1;GOOS=linux go test -count 1 -timeout 10s -v -race -ldflags '-extldflags=-static -extldflags=-lm' github.com/qydysky/part/sqlite
index 28b6b356f203422cea0bb92bd9ee3f9880718d68..c9d6f18695cf8337f82a1e61c48cd2d9e5eac930 100644 (file)
@@ -5,8 +5,6 @@ import (
        "database/sql"
        "errors"
        "fmt"
-
-       _ "github.com/mattn/go-sqlite3"
 )
 
 const (