mirror of
https://github.com/chainreactors/spray.git
synced 2026-10-24 17:04:26 +00:00
ci: use re2_cgo (dynamic) on Windows CI, re2_static on Linux
Windows CI uses pacboy re2:p with re2_cgo (dynamic libre2) for testing. Linux CI keeps re2_cgo + re2_static (bundled static archive). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
1 parent
7d422b5763
commit
3410e30d7f
1 file changed
+4
-4
@@ -60,16 +60,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
msystem: MINGW64
|
msystem: MINGW64
|
||||||
update: true
|
update: true
|
||||||
pacboy: gcc:p go:p git:p
|
pacboy: gcc:p re2:p pkg-config:p go:p git:p
|
||||||
|
|
||||||
- name: Download dependencies
|
- name: Download dependencies
|
||||||
run: go mod download
|
run: go mod download
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -tags "re2_cgo re2_static" -count=1 -timeout 300s ./...
|
run: go test -tags "re2_cgo" -count=1 -timeout 300s ./...
|
||||||
|
|
||||||
- name: Vet
|
- name: Vet
|
||||||
run: go vet -tags "re2_cgo re2_static" ./...
|
run: go vet -tags "re2_cgo" ./...
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: go build -tags "re2_cgo re2_static" ./...
|
run: go build -tags "re2_cgo" ./...
|
||||||
Reference in new issue
Block a user