tests/thirdparty: add oasisprotocol/deoxysii (#247)

Fixes #246
This commit is contained in:
Michael McLoughlin
2022-04-16 21:25:22 -07:00
committed by GitHub
parent ed62fe0a03
commit a25e011a06
2 changed files with 61 additions and 6 deletions

View File

@@ -699,6 +699,40 @@ jobs:
- name: Test
working-directory: curve25519-voi
run: go test ./...
oasisprotocol-deoxysii:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
with:
go-version: 1.18.x
- name: Checkout avo
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
with:
path: avo
persist-credentials: false
- name: Checkout oasisprotocol/deoxysii
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
with:
repository: oasisprotocol/deoxysii
ref: 2091330c22b71dd4e04e15306498e68f3a1b3afc
path: deoxysii
persist-credentials: false
- name: Avo Module Replacement
working-directory: deoxysii/internal/hardware/asm
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: deoxysii/internal/hardware/asm
run: bash -ex gen.sh
- name: Diff
working-directory: deoxysii
run: git diff
- name: Test
working-directory: deoxysii
run: go test ./...
golang-crypto-curve25519:
runs-on: ubuntu-latest
steps: