-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (44 loc) · 1.42 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: CI Tests
on:
push:
jobs:
tests:
name: Run Go ${{ matrix.go }} Tests
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.18', '1.23' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Test math/csprng
run: |
go test ./math/csprng -timeout=0 -count=1
- name: Test math/poly
run: |
go test ./math/poly -timeout=0 -count=1
go test ./math/poly -timeout=0 -count=1 -tags=purego
GODEBUG=cpu.all=off go test ./math/poly -count=1
- name: Test math/vec
run: |
go test ./math/vec -timeout=0 -count=1
go test ./math/vec -timeout=0 -count=1 -tags=purego
GODEBUG=cpu.all=off go test ./math/vec -count=1
- name: Test tfhe
run: |
go test ./tfhe -timeout=0 -count=1
go test ./tfhe -timeout=0 -count=1 -tags=purego
GODEBUG=cpu.all=off go test ./tfhe -count=1
- name: Test mktfhe
run: |
go test ./mktfhe -timeout=0 -count=1
go test ./mktfhe -timeout=0 -count=1 -tags=purego
GODEBUG=cpu.all=off go test ./mktfhe -count=1
- name: Test xtfhe
run: |
go test ./xtfhe -timeout=0 -count=1
go test ./xtfhe -timeout=0 -count=1 -tags=purego
GODEBUG=cpu.all=off go test ./xtfhe -count=1