File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 77 config :
88 - {arch: x86_64, branch: latest-stable}
99 - {arch: aarch64, branch: latest-stable}
10- - {arch: riscv64, branch: edge}
1110 runs-on : ubuntu-latest
1211 steps :
1312 - name : Checkout
2120 shell : alpine.sh --root {0}
2221 run : apk add git cmake gcc g++ make go
2322 - name : Test
23+ shell : alpine.sh --root {0}
2424 run : go test -v
25+
2526 build-windows :
2627 runs-on : windows-latest
2728 steps :
3031 - name : Setup
3132 uses : actions/setup-go@v4
3233 with :
33- go-version : 1.21
34+ go-version : 1.23
3435 - name : Test
3536 run : go test -v
37+
3638 build-darwin :
3739 strategy :
3840 matrix :
@@ -46,12 +48,13 @@ jobs:
4648 - name : Setup
4749 uses : actions/setup-go@v4
4850 with :
49- go-version : 1.21
51+ go-version : 1.23
5052 - name : Test
5153 run : |
5254 export GOARCH=${{ matrix.config.arch }}
5355 export GOOS=darwin
5456 go test -v
57+
5558 release :
5659 needs : [build-alpine, build-windows, build-darwin]
5760 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ package randomy
44//#cgo LDFLAGS: -lrandomx -lstdc++
55//#cgo linux,amd64 LDFLAGS:-L${SRCDIR}/build/linux-x86_64 -lm
66//#cgo linux,arm64 LDFLAGS:-L${SRCDIR}/build/linux-arm64 -lm
7- //#cgo linux,aarch64 LDFLAGS:-L${SRCDIR}/build/linux-aarch64 -lm
8- //#cgo linux,riscv64 LDFLAGS:-L${SRCDIR}/build/linux-riscv64 -lm
97//#cgo darwin,amd64 LDFLAGS:-L${SRCDIR}/build/darwin-x86_64 -lm
108//#cgo darwin,arm64 LDFLAGS:-L${SRCDIR}/build/darwin-arm64 -lm
119//#cgo windows,amd64 LDFLAGS:-L${SRCDIR}/build/windows-x86_64
You can’t perform that action at this time.
0 commit comments