Merge branch 'cgo' #1
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
name: Tests golang bindings for shake-avx2 implementation | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ${{ matrix.OS }} | |
strategy: | |
matrix: | |
OS: ["ubuntu-latest", "macos-12"] | |
go-version: ["1.20"] | |
hash: | |
- shake | |
size: | |
- 128 | |
- 192 | |
- 256 | |
option: | |
- s | |
- f | |
thash: | |
- simple | |
- robust | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Run go build | |
run: | | |
go build --tags=shake_avx2,sphincs_${{ matrix.hash }}_${{ matrix.size }}${{ matrix.option }} -v ./shake-avx2/... | |
- name: Run go test | |
run: | | |
go test --tags=shake_avx2,sphincs_${{ matrix.hash }}_${{ matrix.size }}${{ matrix.option }} -v ./shake-avx2/... | |
# vim: set ft=yaml ts=2 sw=2 et : |