committed by
GitHub
parent
2ca6e5e9f6
commit
14c87c7da2
34
.github/workflows/packages.yml
vendored
34
.github/workflows/packages.yml
vendored
@@ -665,3 +665,37 @@ jobs:
|
||||
- name: Test
|
||||
working-directory: lwcrypto/grain
|
||||
run: go test ./...
|
||||
oasisprotocol-curve25519-voi:
|
||||
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 oasisprotocol/curve25519-voi
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
|
||||
with:
|
||||
repository: oasisprotocol/curve25519-voi
|
||||
ref: d5a936accd94ef9da4c0fe9db0a6342dcdcfeadf
|
||||
path: curve25519-voi
|
||||
persist-credentials: false
|
||||
- name: Avo Module Replacement
|
||||
working-directory: curve25519-voi/internal/asm/amd64
|
||||
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: curve25519-voi/internal/asm/amd64
|
||||
run: bash -ex gen.sh
|
||||
- name: Diff
|
||||
working-directory: curve25519-voi
|
||||
run: git diff
|
||||
- name: Test
|
||||
working-directory: curve25519-voi
|
||||
run: go test ./...
|
||||
|
||||
16
tests/thirdparty/packages.json
vendored
16
tests/thirdparty/packages.json
vendored
@@ -425,5 +425,21 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"repository": {
|
||||
"owner": "oasisprotocol",
|
||||
"name": "curve25519-voi"
|
||||
},
|
||||
"version": "d5a936accd94ef9da4c0fe9db0a6342dcdcfeadf",
|
||||
"module": "internal/asm/amd64/go.mod",
|
||||
"generate": [
|
||||
{
|
||||
"dir": "internal/asm/amd64",
|
||||
"commands": [
|
||||
"bash -ex gen.sh"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user