-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/thirdparty: add filippo.io/edwards25519 (#227)
Updates #226
- Loading branch information
1 parent
1de006d
commit 6c0ed1c
Showing
2 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -733,3 +733,37 @@ jobs: | |
- name: Test | ||
working-directory: crypto/curve25519 | ||
run: go test ./... | ||
FiloSottile-edwards25519: | ||
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 FiloSottile/edwards25519 | ||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4 | ||
with: | ||
repository: FiloSottile/edwards25519 | ||
ref: v1.0.0-rc.1 | ||
path: edwards25519 | ||
persist-credentials: false | ||
- name: Avo Module Replacement | ||
working-directory: edwards25519/field/_asm | ||
run: | | ||
go mod edit -modfile=go.mod -require=github.com/mmcloughlin/[email protected] | ||
go mod edit -modfile=go.mod -replace=github.com/mmcloughlin/avo=${{ github.workspace }}/avo | ||
go mod tidy -modfile=go.mod | ||
- name: Generate | ||
working-directory: edwards25519/field/_asm | ||
run: go generate -v -x | ||
- name: Diff | ||
working-directory: edwards25519 | ||
run: git diff | ||
- name: Test | ||
working-directory: edwards25519 | ||
run: go test ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters