Debian Codegraph @

.github/workflows/packages.yml

raw symbols SCIP
1 # Code generated by make_workflow.go. DO NOT EDIT.
2
3 name: packages
4 permissions:
5 contents: read
6 on:
7 push:
8 branches:
9 - master
10 pull_request:
11 jobs:
12 zeebo-xxh3:
13 runs-on: ubuntu-latest
14 steps:
15 - name: Install Go
16 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
17 with:
18 go-version: 1.21.x
19 check-latest: true
20 - name: Checkout avo
21 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
22 with:
23 path: avo
24 persist-credentials: false
25 - name: Checkout zeebo/xxh3
26 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
27 with:
28 repository: zeebo/xxh3
29 ref: v1.0.0-rc1
30 path: xxh3
31 persist-credentials: false
32 - name: Avo Module Replacement
33 working-directory: xxh3/avo
34 run: |
35 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
36 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
37 go mod tidy -modfile=go.mod
38 - name: Generate
39 working-directory: xxh3/avo
40 run: |
41 go run . -avx -out ../accum_vector_avx_amd64.s
42 go run . -sse -out ../accum_vector_sse_amd64.s
43 - name: Diff
44 working-directory: xxh3
45 run: git diff
46 - name: Test
47 working-directory: xxh3
48 run: go test ./...
49 dgryski-go-sip13:
50 runs-on: ubuntu-latest
51 steps:
52 - name: Install Go
53 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
54 with:
55 go-version: 1.21.x
56 check-latest: true
57 - name: Checkout avo
58 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
59 with:
60 path: avo
61 persist-credentials: false
62 - name: Checkout dgryski/go-sip13
63 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
64 with:
65 repository: dgryski/go-sip13
66 ref: 62edffca92457b3a66125c686137cc5f0fe81672
67 path: go-sip13
68 persist-credentials: false
69 - name: Setup Root Module
70 working-directory: go-sip13
71 run: go mod init github.com/dgryski/go-sip13
72 - name: Setup Generator Module
73 working-directory: go-sip13/_avo
74 run: |
75 sed -i.bak '/+build ignore/d' asm.go
76 go mod init github.com/dgryski/go-sip13/_avo
77 - name: Avo Module Replacement
78 working-directory: go-sip13/_avo
79 run: |
80 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
81 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
82 go mod tidy -modfile=go.mod
83 - name: Generate
84 working-directory: go-sip13/_avo
85 run: |
86 go mod edit -modfile=go.mod -require=github.com/dgryski/[email protected]
87 go mod edit -modfile=go.mod -replace=github.com/dgryski/go-sip13=../
88 go run . -out ../sip13_amd64.s
89 - name: Diff
90 working-directory: go-sip13
91 run: git diff
92 - name: Test
93 working-directory: go-sip13
94 run: go test ./...
95 phoreproject-bls:
96 runs-on: ubuntu-latest
97 steps:
98 - name: Install Go
99 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
100 with:
101 go-version: 1.21.x
102 check-latest: true
103 - name: Checkout avo
104 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
105 with:
106 path: avo
107 persist-credentials: false
108 - name: Checkout phoreproject/bls
109 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
110 with:
111 repository: phoreproject/bls
112 ref: a88a5ae26844d7293359422888d7c7f69f43c845
113 path: bls
114 persist-credentials: false
115 - name: Setup Root Module
116 working-directory: bls
117 run: go mod tidy
118 - name: Setup Generator Module
119 working-directory: bls/asm
120 run: |
121 sed -i.bak '/+build ignore/d' asm.go
122 go mod init github.com/phoreproject/bls/asm
123 - name: Avo Module Replacement
124 working-directory: bls/asm
125 run: |
126 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
127 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
128 go mod tidy -modfile=go.mod
129 - name: Generate
130 working-directory: bls/asm
131 run: |
132 go mod edit -modfile=go.mod -require=github.com/phoreproject/[email protected]
133 go mod edit -modfile=go.mod -replace=github.com/phoreproject/bls=../
134 go mod download
135 go run . -out ../primitivefuncs_amd64.s
136 - name: Diff
137 working-directory: bls
138 run: git diff
139 - name: Test
140 working-directory: bls
141 run: go test ./...
142 minio-md5-simd:
143 runs-on: ubuntu-latest
144 steps:
145 - name: Install Go
146 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
147 with:
148 go-version: 1.21.x
149 check-latest: true
150 - name: Checkout avo
151 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
152 with:
153 path: avo
154 persist-credentials: false
155 - name: Checkout minio/md5-simd
156 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
157 with:
158 repository: minio/md5-simd
159 ref: 30ad8af83f6868c2a30c615f3edf1a9366bf3f89
160 path: md5-simd
161 persist-credentials: false
162 - name: Avo Module Replacement
163 working-directory: md5-simd/_gen
164 run: |
165 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
166 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
167 go mod tidy -modfile=go.mod
168 - name: Generate
169 working-directory: md5-simd/_gen
170 run: go run gen.go -out ../md5block_amd64.s -stubs ../md5block_amd64.go -pkg md5simd
171 - name: Diff
172 working-directory: md5-simd
173 run: git diff
174 - name: Test
175 working-directory: md5-simd
176 run: go test ./...
177 zeebo-blake3:
178 runs-on: ubuntu-latest
179 steps:
180 - name: Install Go
181 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
182 with:
183 go-version: 1.21.x
184 check-latest: true
185 - name: Checkout avo
186 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
187 with:
188 path: avo
189 persist-credentials: false
190 - name: Checkout zeebo/blake3
191 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
192 with:
193 repository: zeebo/blake3
194 ref: 25dba572f0e78ec108f0dd79c9c15288f542d7d9
195 path: blake3
196 persist-credentials: false
197 - name: Avo Module Replacement
198 working-directory: blake3/avo
199 run: |
200 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
201 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
202 go mod tidy -modfile=go.mod
203 - name: Generate
204 working-directory: blake3/avo
205 run: |
206 go run ./avx2 -out ../avx2/impl.s
207 go run ./sse41 -out ../sse41/impl.s
208 - name: Diff
209 working-directory: blake3
210 run: git diff
211 - name: Test
212 working-directory: blake3
213 run: go test ./...
214 klauspost-reedsolomon:
215 runs-on: ubuntu-latest
216 steps:
217 - name: Install Go
218 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
219 with:
220 go-version: 1.21.x
221 check-latest: true
222 - name: Checkout avo
223 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
224 with:
225 path: avo
226 persist-credentials: false
227 - name: Checkout klauspost/reedsolomon
228 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
229 with:
230 repository: klauspost/reedsolomon
231 ref: 922778284547557265cff0f903ab5f4c27e40ae9
232 path: reedsolomon
233 persist-credentials: false
234 - name: Avo Module Replacement
235 working-directory: reedsolomon/_gen
236 run: |
237 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
238 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
239 go mod tidy -modfile=go.mod
240 - name: Generate
241 working-directory: reedsolomon/_gen
242 run: go run gen.go -out ../galois_gen_amd64.s -stubs ../galois_gen_amd64.go -pkg reedsolomon
243 - name: Diff
244 working-directory: reedsolomon
245 run: git diff
246 - name: Test
247 working-directory: reedsolomon
248 run: go test ./...
249 orisano-wyhash:
250 runs-on: ubuntu-latest
251 steps:
252 - name: Install Go
253 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
254 with:
255 go-version: 1.21.x
256 check-latest: true
257 - name: Checkout avo
258 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
259 with:
260 path: avo
261 persist-credentials: false
262 - name: Checkout orisano/wyhash
263 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
264 with:
265 repository: orisano/wyhash
266 ref: 32a3f7f6ba4797e2d87dab2969cc9dd63d39cce9
267 path: wyhash
268 persist-credentials: false
269 - name: Setup Generator Module
270 working-directory: wyhash/avo
271 run: go mod init github.com/orisano/wyhash/avo
272 - name: Avo Module Replacement
273 working-directory: wyhash/avo
274 run: |
275 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
276 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
277 go mod tidy -modfile=go.mod
278 - name: Generate
279 working-directory: wyhash/avo
280 run: go run gen.go -out ../blocks_amd64.s -stubs ../blocks_amd64.go -pkg wyhash
281 - name: Diff
282 working-directory: wyhash
283 run: git diff
284 - name: Test
285 working-directory: wyhash
286 run: go test ./...
287 klauspost-compress-s2:
288 runs-on: ubuntu-latest
289 steps:
290 - name: Install Go
291 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
292 with:
293 go-version: 1.21.x
294 check-latest: true
295 - name: Checkout avo
296 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
297 with:
298 path: avo
299 persist-credentials: false
300 - name: Checkout klauspost/compress
301 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
302 with:
303 repository: klauspost/compress
304 ref: 2f236383d7c2faa8ef7e354ccecb926a5b47a24d
305 path: compress
306 persist-credentials: false
307 - name: Avo Module Replacement
308 working-directory: compress/s2/_generate
309 run: |
310 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
311 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
312 go mod tidy -modfile=go.mod
313 - name: Generate
314 working-directory: compress/s2/_generate
315 run: go generate -v -x
316 - name: Diff
317 working-directory: compress/s2
318 run: git diff
319 - name: Test
320 working-directory: compress/s2
321 run: go test ./...
322 klauspost-compress-zstd:
323 runs-on: ubuntu-latest
324 steps:
325 - name: Install Go
326 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
327 with:
328 go-version: 1.21.x
329 check-latest: true
330 - name: Checkout avo
331 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
332 with:
333 path: avo
334 persist-credentials: false
335 - name: Checkout klauspost/compress
336 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
337 with:
338 repository: klauspost/compress
339 ref: 2f236383d7c2faa8ef7e354ccecb926a5b47a24d
340 path: compress
341 persist-credentials: false
342 - name: Avo Module Replacement
343 working-directory: compress/zstd/_generate
344 run: |
345 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
346 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
347 go mod tidy -modfile=go.mod
348 - name: Generate
349 working-directory: compress/zstd/_generate
350 run: go generate -v -x
351 - name: Diff
352 working-directory: compress/zstd
353 run: git diff
354 - name: Test
355 working-directory: compress/zstd
356 run: go test -short
357 dgryski-go-bloomindex:
358 runs-on: ubuntu-latest
359 steps:
360 - name: Install Go
361 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
362 with:
363 go-version: 1.21.x
364 check-latest: true
365 - name: Checkout avo
366 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
367 with:
368 path: avo
369 persist-credentials: false
370 - name: Checkout dgryski/go-bloomindex
371 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
372 with:
373 repository: dgryski/go-bloomindex
374 ref: 0902316dce158c154b958ee5cfc706c62af29a42
375 path: go-bloomindex
376 persist-credentials: false
377 - name: Setup Root Module
378 working-directory: go-bloomindex
379 run: |
380 go mod init github.com/dgryski/go-bloomindex
381 go get github.com/dgryski/[email protected]
382 - name: Create Generator Module
383 working-directory: go-bloomindex
384 run: |
385 mkdir avo
386 git mv asm.go avo
387 - name: Setup Generator Module
388 working-directory: go-bloomindex/avo
389 run: |
390 sed -i.bak '/+build ignore/d' asm.go
391 go mod init github.com/dgryski/go-bloomindex/avo
392 - name: Avo Module Replacement
393 working-directory: go-bloomindex/avo
394 run: |
395 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
396 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
397 go mod tidy -modfile=go.mod
398 - name: Generate
399 working-directory: go-bloomindex/avo
400 run: go run asm.go -out ../query_amd64.s
401 - name: Diff
402 working-directory: go-bloomindex
403 run: git diff
404 - name: Test
405 working-directory: go-bloomindex
406 run: go test ./...
407 dgryski-go-marvin32:
408 runs-on: ubuntu-latest
409 steps:
410 - name: Install Go
411 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
412 with:
413 go-version: 1.21.x
414 check-latest: true
415 - name: Checkout avo
416 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
417 with:
418 path: avo
419 persist-credentials: false
420 - name: Checkout dgryski/go-marvin32
421 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
422 with:
423 repository: dgryski/go-marvin32
424 ref: 7d18f4c6ea7c24b29d1c7a670f8ae40b0812f2e3
425 path: go-marvin32
426 persist-credentials: false
427 - name: Setup Root Module
428 working-directory: go-marvin32
429 run: go mod init github.com/dgryski/go-marvin32
430 - name: Create Generator Module
431 working-directory: go-marvin32
432 run: |
433 mkdir avo
434 git mv asm.go avo
435 - name: Setup Generator Module
436 working-directory: go-marvin32/avo
437 run: |
438 sed -i.bak '/+build ignore/d' asm.go
439 go mod init github.com/dgryski/go-marvin32/avo
440 - name: Avo Module Replacement
441 working-directory: go-marvin32/avo
442 run: |
443 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
444 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
445 go mod tidy -modfile=go.mod
446 - name: Generate
447 working-directory: go-marvin32/avo
448 run: |
449 go mod edit -modfile=go.mod -require=github.com/dgryski/[email protected]
450 go mod edit -modfile=go.mod -replace=github.com/dgryski/go-marvin32=../
451 go run asm.go -out ../marvin_amd64.s
452 - name: Diff
453 working-directory: go-marvin32
454 run: git diff
455 - name: Test
456 working-directory: go-marvin32
457 run: go test ./...
458 dgryski-go-speck:
459 runs-on: ubuntu-latest
460 steps:
461 - name: Install Go
462 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
463 with:
464 go-version: 1.21.x
465 check-latest: true
466 - name: Checkout avo
467 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
468 with:
469 path: avo
470 persist-credentials: false
471 - name: Checkout dgryski/go-speck
472 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
473 with:
474 repository: dgryski/go-speck
475 ref: 5b36d4c08d8840c352a153bf37281434ad550ec0
476 path: go-speck
477 persist-credentials: false
478 - name: Setup Root Module
479 working-directory: go-speck
480 run: |
481 go mod init github.com/dgryski/go-speck
482 go get github.com/dgryski/[email protected]
483 - name: Create Generator Module
484 working-directory: go-speck
485 run: |
486 mkdir avo
487 git mv asm.go avo
488 - name: Setup Generator Module
489 working-directory: go-speck/avo
490 run: |
491 sed -i.bak '/+build ignore/d' asm.go
492 go mod init github.com/dgryski/go-speck/avo
493 - name: Avo Module Replacement
494 working-directory: go-speck/avo
495 run: |
496 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
497 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
498 go mod tidy -modfile=go.mod
499 - name: Generate
500 working-directory: go-speck/avo
501 run: |
502 go mod edit -modfile=go.mod -require=github.com/dgryski/[email protected]
503 go mod edit -modfile=go.mod -replace=github.com/dgryski/go-speck=../
504 go run asm.go -out ../speck_amd64.s
505 - name: Diff
506 working-directory: go-speck
507 run: git diff
508 - name: Test
509 working-directory: go-speck
510 run: go test ./...
511 dgryski-go-chaskey:
512 runs-on: ubuntu-latest
513 steps:
514 - name: Install Go
515 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
516 with:
517 go-version: 1.21.x
518 check-latest: true
519 - name: Checkout avo
520 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
521 with:
522 path: avo
523 persist-credentials: false
524 - name: Checkout dgryski/go-chaskey
525 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
526 with:
527 repository: dgryski/go-chaskey
528 ref: ba454392bc5ab6daae103e15147185f8f4a27dcc
529 path: go-chaskey
530 persist-credentials: false
531 - name: Setup Root Module
532 working-directory: go-chaskey
533 run: |
534 go mod init github.com/dgryski/go-chaskey
535 go get github.com/dchest/[email protected]
536 - name: Create Generator Module
537 working-directory: go-chaskey
538 run: |
539 mkdir avo
540 git mv asm.go avo
541 - name: Setup Generator Module
542 working-directory: go-chaskey/avo
543 run: |
544 sed -i.bak '/+build ignore/d' asm.go
545 go mod init github.com/dgryski/go-chaskey/avo
546 - name: Avo Module Replacement
547 working-directory: go-chaskey/avo
548 run: |
549 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
550 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
551 go mod tidy -modfile=go.mod
552 - name: Generate
553 working-directory: go-chaskey/avo
554 run: |
555 go mod edit -modfile=go.mod -require=github.com/dgryski/[email protected]
556 go mod edit -modfile=go.mod -replace=github.com/dgryski/go-chaskey=../
557 go run asm.go -out ../core_amd64.s
558 - name: Diff
559 working-directory: go-chaskey
560 run: git diff
561 - name: Test
562 working-directory: go-chaskey
563 run: go test ./...
564 lukechampine-us-merkle-blake2b:
565 runs-on: ubuntu-latest
566 steps:
567 - name: Install Go
568 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
569 with:
570 go-version: 1.21.x
571 check-latest: true
572 - name: Checkout avo
573 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
574 with:
575 path: avo
576 persist-credentials: false
577 - name: Checkout lukechampine/us
578 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
579 with:
580 repository: lukechampine/us
581 ref: dff56a80f83653cb14eeeb57ba6ba3c3e942c412
582 path: us
583 persist-credentials: false
584 - name: Create Generator Module
585 working-directory: us/merkle/blake2b
586 run: |
587 mkdir avo
588 git mv gen.go avo
589 - name: Setup Generator Module
590 working-directory: us/merkle/blake2b/avo
591 run: |
592 sed -i.bak '/+build ignore/d' gen.go
593 go mod init github.com/lukechampine/us/merkle/blake2b/avo
594 - name: Avo Module Replacement
595 working-directory: us/merkle/blake2b/avo
596 run: |
597 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
598 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
599 go mod tidy -modfile=go.mod
600 - name: Generate
601 working-directory: us/merkle/blake2b/avo
602 run: go run gen.go -out ../blake2b_amd64.s
603 - name: Diff
604 working-directory: us/merkle/blake2b
605 run: git diff
606 - name: Test
607 working-directory: us/merkle/blake2b
608 run: go test ./...
609 segmentio-asm:
610 runs-on: ubuntu-latest
611 steps:
612 - name: Install Go
613 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
614 with:
615 go-version: 1.21.x
616 check-latest: true
617 - name: Checkout avo
618 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
619 with:
620 path: avo
621 persist-credentials: false
622 - name: Checkout segmentio/asm
623 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
624 with:
625 repository: segmentio/asm
626 ref: 2bf3fdd47b1cdbe8fe020f032caf14891e10a85f
627 path: asm
628 persist-credentials: false
629 - name: Avo Module Replacement
630 working-directory: asm/build
631 run: |
632 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
633 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
634 go mod tidy -modfile=go.mod
635 - name: Generate
636 working-directory: asm
637 run: make --always-make build
638 - name: Diff
639 working-directory: asm
640 run: git diff
641 - name: Test
642 working-directory: asm
643 run: go test ./...
644 ericlagergren-lwcrypto-ascon:
645 runs-on: ubuntu-latest
646 steps:
647 - name: Install Go
648 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
649 with:
650 go-version: 1.21.x
651 check-latest: true
652 - name: Checkout avo
653 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
654 with:
655 path: avo
656 persist-credentials: false
657 - name: Checkout ericlagergren/lwcrypto
658 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
659 with:
660 repository: ericlagergren/lwcrypto
661 ref: 0c42b05eddc34c58bf8e0cd4250c5cd2c256ea57
662 path: lwcrypto
663 persist-credentials: false
664 - name: Avo Module Replacement
665 working-directory: lwcrypto/ascon/asm
666 run: |
667 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
668 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
669 go mod tidy -modfile=go.mod
670 - name: Generate
671 working-directory: lwcrypto/ascon/asm
672 run: |
673 go mod edit -require=github.com/ericlagergren/[email protected]
674 go generate -v -x
675 - name: Diff
676 working-directory: lwcrypto/ascon
677 run: git diff
678 - name: Test
679 working-directory: lwcrypto/ascon
680 run: go test ./...
681 ericlagergren-lwcrypto-grain:
682 runs-on: ubuntu-latest
683 steps:
684 - name: Install Go
685 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
686 with:
687 go-version: 1.21.x
688 check-latest: true
689 - name: Checkout avo
690 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
691 with:
692 path: avo
693 persist-credentials: false
694 - name: Checkout ericlagergren/lwcrypto
695 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
696 with:
697 repository: ericlagergren/lwcrypto
698 ref: 0c42b05eddc34c58bf8e0cd4250c5cd2c256ea57
699 path: lwcrypto
700 persist-credentials: false
701 - name: Avo Module Replacement
702 working-directory: lwcrypto/grain/asm
703 run: |
704 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
705 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
706 go mod tidy -modfile=go.mod
707 - name: Generate
708 working-directory: lwcrypto/grain/asm
709 run: |
710 go mod edit -require=github.com/ericlagergren/[email protected]
711 go generate -v -x
712 - name: Diff
713 working-directory: lwcrypto/grain
714 run: git diff
715 - name: Test
716 working-directory: lwcrypto/grain
717 run: go test ./...
718 oasisprotocol-curve25519-voi:
719 runs-on: ubuntu-latest
720 steps:
721 - name: Install Go
722 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
723 with:
724 go-version: 1.21.x
725 check-latest: true
726 - name: Checkout avo
727 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
728 with:
729 path: avo
730 persist-credentials: false
731 - name: Checkout oasisprotocol/curve25519-voi
732 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
733 with:
734 repository: oasisprotocol/curve25519-voi
735 ref: d5a936accd94ef9da4c0fe9db0a6342dcdcfeadf
736 path: curve25519-voi
737 persist-credentials: false
738 - name: Avo Module Replacement
739 working-directory: curve25519-voi/internal/asm/amd64
740 run: |
741 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
742 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
743 go mod tidy -modfile=go.mod
744 - name: Generate
745 working-directory: curve25519-voi/internal/asm/amd64
746 run: bash -ex gen.sh
747 - name: Diff
748 working-directory: curve25519-voi
749 run: git diff
750 - name: Test
751 working-directory: curve25519-voi
752 run: go test ./...
753 oasisprotocol-deoxysii:
754 runs-on: ubuntu-latest
755 steps:
756 - name: Install Go
757 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
758 with:
759 go-version: 1.21.x
760 check-latest: true
761 - name: Checkout avo
762 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
763 with:
764 path: avo
765 persist-credentials: false
766 - name: Checkout oasisprotocol/deoxysii
767 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
768 with:
769 repository: oasisprotocol/deoxysii
770 ref: 2091330c22b71dd4e04e15306498e68f3a1b3afc
771 path: deoxysii
772 persist-credentials: false
773 - name: Avo Module Replacement
774 working-directory: deoxysii/internal/hardware/asm
775 run: |
776 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
777 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
778 go mod tidy -modfile=go.mod
779 - name: Generate
780 working-directory: deoxysii/internal/hardware/asm
781 run: bash -ex gen.sh
782 - name: Diff
783 working-directory: deoxysii
784 run: git diff
785 - name: Test
786 working-directory: deoxysii
787 run: go test ./...
788 golang-crypto-curve25519:
789 runs-on: ubuntu-latest
790 steps:
791 - name: Install Go
792 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
793 with:
794 go-version: 1.21.x
795 check-latest: true
796 - name: Checkout avo
797 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
798 with:
799 path: avo
800 persist-credentials: false
801 - name: Checkout golang/crypto
802 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
803 with:
804 repository: golang/crypto
805 ref: 089bfa5675191fd96a44247682f76ebca03d7916
806 path: crypto
807 persist-credentials: false
808 - name: Avo Module Replacement
809 working-directory: crypto/curve25519/internal/field/_asm
810 run: |
811 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
812 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
813 go mod tidy -modfile=go.mod
814 - name: Generate
815 working-directory: crypto/curve25519/internal/field/_asm
816 run: go generate -v -x
817 - name: Diff
818 working-directory: crypto/curve25519
819 run: git diff
820 - name: Test
821 working-directory: crypto/curve25519
822 run: go test ./...
823 FiloSottile-edwards25519:
824 runs-on: ubuntu-latest
825 steps:
826 - name: Install Go
827 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
828 with:
829 go-version: 1.21.x
830 check-latest: true
831 - name: Checkout avo
832 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
833 with:
834 path: avo
835 persist-credentials: false
836 - name: Checkout FiloSottile/edwards25519
837 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
838 with:
839 repository: FiloSottile/edwards25519
840 ref: v1.0.0-rc.1
841 path: edwards25519
842 persist-credentials: false
843 - name: Avo Module Replacement
844 working-directory: edwards25519/field/_asm
845 run: |
846 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
847 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
848 go mod tidy -modfile=go.mod
849 - name: Generate
850 working-directory: edwards25519/field/_asm
851 run: go generate -v -x
852 - name: Diff
853 working-directory: edwards25519
854 run: git diff
855 - name: Test
856 working-directory: edwards25519
857 run: go test ./...
858 lukechampine-blake3:
859 runs-on: ubuntu-latest
860 steps:
861 - name: Install Go
862 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
863 with:
864 go-version: 1.21.x
865 check-latest: true
866 - name: Checkout avo
867 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
868 with:
869 path: avo
870 persist-credentials: false
871 - name: Checkout lukechampine/blake3
872 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
873 with:
874 repository: lukechampine/blake3
875 ref: v1.1.7
876 path: blake3
877 persist-credentials: false
878 - name: Setup Generator Module
879 working-directory: blake3/avo
880 run: |
881 sed -i.bak '/build ignore/d' gen.go
882 go mod init github.com/lukechampine/blake3/avo
883 - name: Avo Module Replacement
884 working-directory: blake3/avo
885 run: |
886 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
887 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
888 go mod tidy -modfile=go.mod
889 - name: Generate
890 working-directory: blake3/avo
891 run: go run gen.go -out ../blake3_amd64.s
892 - name: Diff
893 working-directory: blake3
894 run: git diff
895 - name: Test
896 working-directory: blake3
897 run: go test ./...
898 mmcloughlin-md4:
899 runs-on: ubuntu-latest
900 steps:
901 - name: Install Go
902 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
903 with:
904 go-version: 1.21.x
905 check-latest: true
906 - name: Checkout avo
907 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
908 with:
909 path: avo
910 persist-credentials: false
911 - name: Checkout mmcloughlin/md4
912 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
913 with:
914 repository: mmcloughlin/md4
915 ref: v0.1.2
916 path: md4
917 persist-credentials: false
918 - name: Avo Module Replacement
919 working-directory: md4/asm
920 run: |
921 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
922 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
923 go mod tidy -modfile=go.mod
924 - name: Generate
925 working-directory: md4
926 run: go generate -v -x
927 - name: Diff
928 working-directory: md4
929 run: git diff
930 - name: Test
931 working-directory: md4
932 run: go test ./...
933 golang-go-src-crypto-internal-bigmod:
934 runs-on: ubuntu-latest
935 steps:
936 - name: Install Go
937 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
938 with:
939 go-version: 1.21.x
940 check-latest: true
941 - name: Checkout avo
942 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
943 with:
944 path: avo
945 persist-credentials: false
946 - name: Checkout golang/go
947 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
948 with:
949 repository: golang/go
950 ref: go1.20.1
951 path: go
952 persist-credentials: false
953 - name: Compile Go Toolchain
954 working-directory: go/src
955 run: ./make.bash
956 - name: Avo Module Replacement
957 working-directory: go/src/crypto/internal/bigmod/_asm
958 run: |
959 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
960 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
961 go mod tidy -modfile=go.mod
962 - name: Generate
963 working-directory: go
964 run: env --unset=GOROOT ./bin/go generate -v -x ./src/crypto/internal/bigmod/_asm
965 - name: Diff
966 working-directory: go
967 run: git diff
968 - name: Test
969 working-directory: go
970 run: env --unset=GOROOT ./bin/go test crypto/...
971 golang-go-src-crypto-internal-edwards25519:
972 runs-on: ubuntu-latest
973 steps:
974 - name: Install Go
975 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
976 with:
977 go-version: 1.21.x
978 check-latest: true
979 - name: Checkout avo
980 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
981 with:
982 path: avo
983 persist-credentials: false
984 - name: Checkout golang/go
985 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
986 with:
987 repository: golang/go
988 ref: go1.20.1
989 path: go
990 persist-credentials: false
991 - name: Compile Go Toolchain
992 working-directory: go/src
993 run: ./make.bash
994 - name: Avo Module Replacement
995 working-directory: go/src/crypto/internal/edwards25519/field/_asm
996 run: |
997 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
998 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
999 go mod tidy -modfile=go.mod
1000 - name: Generate
1001 working-directory: go
1002 run: env --unset=GOROOT ./bin/go generate -v -x ./src/crypto/internal/edwards25519/field/_asm
1003 - name: Diff
1004 working-directory: go
1005 run: git diff
1006 - name: Test
1007 working-directory: go
1008 run: env --unset=GOROOT ./bin/go test crypto/ed25519/...
1009 cloudflare-circl-sign-dilithium:
1010 runs-on: ubuntu-latest
1011 steps:
1012 - name: Install Go
1013 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
1014 with:
1015 go-version: 1.21.x
1016 check-latest: true
1017 - name: Checkout avo
1018 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
1019 with:
1020 path: avo
1021 persist-credentials: false
1022 - name: Checkout cloudflare/circl
1023 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
1024 with:
1025 repository: cloudflare/circl
1026 ref: v1.1.0
1027 path: circl
1028 persist-credentials: false
1029 - name: Avo Module Replacement
1030 working-directory: circl/sign/dilithium/internal/common/asm
1031 run: |
1032 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
1033 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
1034 go mod tidy -modfile=go.mod
1035 - name: Generate
1036 working-directory: circl/sign/dilithium/internal/common/asm
1037 run: go generate -v -x
1038 - name: Diff
1039 working-directory: circl/sign/dilithium
1040 run: git diff
1041 - name: Test
1042 working-directory: circl/sign/dilithium
1043 run: go test ./...
1044 cloudflare-circl-pke-kyber:
1045 runs-on: ubuntu-latest
1046 steps:
1047 - name: Install Go
1048 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
1049 with:
1050 go-version: 1.21.x
1051 check-latest: true
1052 - name: Checkout avo
1053 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
1054 with:
1055 path: avo
1056 persist-credentials: false
1057 - name: Checkout cloudflare/circl
1058 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
1059 with:
1060 repository: cloudflare/circl
1061 ref: v1.1.0
1062 path: circl
1063 persist-credentials: false
1064 - name: Avo Module Replacement
1065 working-directory: circl/pke/kyber/internal/common/asm
1066 run: |
1067 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
1068 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
1069 go mod tidy -modfile=go.mod
1070 - name: Generate
1071 working-directory: circl/pke/kyber/internal/common/asm
1072 run: go generate -v -x
1073 - name: Diff
1074 working-directory: circl/pke/kyber
1075 run: git diff
1076 - name: Test
1077 working-directory: circl/pke/kyber
1078 run: go test ./...
1079 cloudflare-circl-simd-keccakf1600:
1080 runs-on: ubuntu-latest
1081 steps:
1082 - name: Install Go
1083 uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.1
1084 with:
1085 go-version: 1.21.x
1086 check-latest: true
1087 - name: Checkout avo
1088 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
1089 with:
1090 path: avo
1091 persist-credentials: false
1092 - name: Checkout cloudflare/circl
1093 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
1094 with:
1095 repository: cloudflare/circl
1096 ref: v1.1.0
1097 path: circl
1098 persist-credentials: false
1099 - name: Avo Module Replacement
1100 working-directory: circl/simd/keccakf1600/internal/asm
1101 run: |
1102 go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected]
1103 go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
1104 go mod tidy -modfile=go.mod
1105 - name: Generate
1106 working-directory: circl/simd/keccakf1600/internal/asm
1107 run: go generate -v -x
1108 - name: Diff
1109 working-directory: circl/simd/keccakf1600
1110 run: git diff
1111 - name: Test
1112 working-directory: circl/simd/keccakf1600
1113 run: go test ./...