-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Using sqlite CGO is for building a 32-bit Windows operating system #2743
Conversation
You need to set the environment variable CGO_ENABLED=1 and make sure that GCC is installed on your path. windows: https://jmeubank.github.io/tdm-gcc/ |
@horizon220222 CI failed, please have a check. You can refer to the build testing shell: |
I will take care of it over the weekend. |
2b671a1
to
7aa92dd
Compare
Codecov ReportPatch coverage:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #2743 +/- ##
==========================================
+ Coverage 79.20% 79.21% +0.01%
==========================================
Files 632 634 +2
Lines 52159 52406 +247
==========================================
+ Hits 41310 41511 +201
- Misses 8804 8834 +30
- Partials 2045 2061 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
doc: To start GitHub Actions
@horizon220222 Any updates? |
最近比较忙,已经修改 |
Recently busy, has been modified |
Why do we need to use github.com/gogf/gf/contrib/drivers/sqlitecgo/v2?
Using sqlite CGO is for building a 32-bit Windows operating system
https://github.com/glebarez/go-sqlite does not support building a 32-bit Windows operating system.
sqlite
【using CGO】github.com/mattn/go-sqlite3
【not using CGO】https://github.com/glebarez/go-sqlite
goframe driver
[using CGO]github.com/gogf/gf/contrib/drivers/sqlitecgo/v2
[not using CGO]github.com/gogf/gf/contrib/drivers/sqlite/v2