committed by
GitHub
parent
b76e849b5c
commit
68350e4e08
39
.github/workflows/packages.yml
vendored
39
.github/workflows/packages.yml
vendored
@@ -768,3 +768,42 @@ jobs:
|
|||||||
- name: Test
|
- name: Test
|
||||||
working-directory: edwards25519
|
working-directory: edwards25519
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
lukechampine-blake3:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install Go
|
||||||
|
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
|
||||||
|
with:
|
||||||
|
go-version: 1.17.x
|
||||||
|
- name: Checkout avo
|
||||||
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||||
|
with:
|
||||||
|
path: avo
|
||||||
|
persist-credentials: false
|
||||||
|
- name: Checkout lukechampine/blake3
|
||||||
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||||
|
with:
|
||||||
|
repository: lukechampine/blake3
|
||||||
|
ref: v1.1.7
|
||||||
|
path: blake3
|
||||||
|
persist-credentials: false
|
||||||
|
- name: Setup Generator Module
|
||||||
|
working-directory: blake3/avo
|
||||||
|
run: |
|
||||||
|
sed -i.bak '/build ignore/d' gen.go
|
||||||
|
go mod init github.com/lukechampine/blake3/avo
|
||||||
|
- name: Avo Module Replacement
|
||||||
|
working-directory: blake3/avo
|
||||||
|
run: |
|
||||||
|
go mod edit -modfile=go.mod -require=github.com/mmcloughlin/avo@v0.0.0-00010101000000-000000000000
|
||||||
|
go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo
|
||||||
|
go mod tidy -modfile=go.mod
|
||||||
|
- name: Generate
|
||||||
|
working-directory: blake3/avo
|
||||||
|
run: go run gen.go -out ../blake3_amd64.s
|
||||||
|
- name: Diff
|
||||||
|
working-directory: blake3
|
||||||
|
run: git diff
|
||||||
|
- name: Test
|
||||||
|
working-directory: blake3
|
||||||
|
run: go test ./...
|
||||||
|
|||||||
47
tests/thirdparty/packages.json
vendored
47
tests/thirdparty/packages.json
vendored
@@ -6,7 +6,7 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "XXH3 algorithm in Go",
|
"description": "XXH3 algorithm in Go",
|
||||||
"stars": 198
|
"stars": 203
|
||||||
},
|
},
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"version": "v1.0.0-rc1",
|
"version": "v1.0.0-rc1",
|
||||||
@@ -107,7 +107,7 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Accelerate aggregated MD5 hashing performance up to 8x for AVX512 and 4x for AVX2. Useful for server applications that need to compute many MD5 sums in parallel.",
|
"description": "Accelerate aggregated MD5 hashing performance up to 8x for AVX512 and 4x for AVX2. Useful for server applications that need to compute many MD5 sums in parallel.",
|
||||||
"stars": 87
|
"stars": 88
|
||||||
},
|
},
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"version": "30ad8af83f6868c2a30c615f3edf1a9366bf3f89",
|
"version": "30ad8af83f6868c2a30c615f3edf1a9366bf3f89",
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Reed-Solomon Erasure Coding in Go",
|
"description": "Reed-Solomon Erasure Coding in Go",
|
||||||
"stars": 1343
|
"stars": 1345
|
||||||
},
|
},
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"version": "922778284547557265cff0f903ab5f4c27e40ae9",
|
"version": "922778284547557265cff0f903ab5f4c27e40ae9",
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Optimized Go Compression Packages",
|
"description": "Optimized Go Compression Packages",
|
||||||
"stars": 2442
|
"stars": 2448
|
||||||
},
|
},
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"version": "2adf487b3e02f95ce7efd6e4953fda0ae7ecd080",
|
"version": "2adf487b3e02f95ce7efd6e4953fda0ae7ecd080",
|
||||||
@@ -408,7 +408,7 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "An alternative interface to Sia",
|
"description": "An alternative interface to Sia",
|
||||||
"stars": 49
|
"stars": 50
|
||||||
},
|
},
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"version": "dff56a80f83653cb14eeeb57ba6ba3c3e942c412",
|
"version": "dff56a80f83653cb14eeeb57ba6ba3c3e942c412",
|
||||||
@@ -447,7 +447,7 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Go library providing algorithms optimized to leverage the characteristics of modern CPUs",
|
"description": "Go library providing algorithms optimized to leverage the characteristics of modern CPUs",
|
||||||
"stars": 548
|
"stars": 566
|
||||||
},
|
},
|
||||||
"default_branch": "main",
|
"default_branch": "main",
|
||||||
"version": "v1.0.0",
|
"version": "v1.0.0",
|
||||||
@@ -514,7 +514,7 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "High-performance Curve25519/ristretto255 for Go",
|
"description": "High-performance Curve25519/ristretto255 for Go",
|
||||||
"stars": 32
|
"stars": 34
|
||||||
},
|
},
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"version": "d5a936accd94ef9da4c0fe9db0a6342dcdcfeadf",
|
"version": "d5a936accd94ef9da4c0fe9db0a6342dcdcfeadf",
|
||||||
@@ -536,7 +536,7 @@
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "[mirror] Go supplementary cryptography libraries",
|
"description": "[mirror] Go supplementary cryptography libraries",
|
||||||
"homepage": "https://golang.org/x/crypto",
|
"homepage": "https://golang.org/x/crypto",
|
||||||
"stars": 2282
|
"stars": 2283
|
||||||
},
|
},
|
||||||
"default_branch": "master",
|
"default_branch": "master",
|
||||||
"version": "089bfa5675191fd96a44247682f76ebca03d7916",
|
"version": "089bfa5675191fd96a44247682f76ebca03d7916",
|
||||||
@@ -572,5 +572,36 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"repository": {
|
||||||
|
"owner": "lukechampine",
|
||||||
|
"name": "blake3"
|
||||||
|
},
|
||||||
|
"metadata": {
|
||||||
|
"description": "A pure-Go implementation of the BLAKE3 cryptographic hash function",
|
||||||
|
"stars": 249
|
||||||
|
},
|
||||||
|
"default_branch": "master",
|
||||||
|
"version": "v1.1.7",
|
||||||
|
"module": "avo/go.mod",
|
||||||
|
"setup": [
|
||||||
|
{
|
||||||
|
"name": "Setup Generator Module",
|
||||||
|
"dir": "avo",
|
||||||
|
"commands": [
|
||||||
|
"sed -i.bak '/build ignore/d' gen.go",
|
||||||
|
"go mod init github.com/lukechampine/blake3/avo"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"generate": [
|
||||||
|
{
|
||||||
|
"dir": "avo",
|
||||||
|
"commands": [
|
||||||
|
"go run gen.go -out ../blake3_amd64.s"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user