Skip to content

Merge branch 'cgo'

Merge branch 'cgo' #1

name: Tests golang bindings for haraka-aesni implementation
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.OS }}
strategy:
matrix:
OS: ["ubuntu-latest", "macos-12"]
go-version: ["1.20.x"]
hash:
- haraka
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: |
export CGO_ENABLE=1
go build --tags=haraka_aesni,sphincs_${{ matrix.hash }}_${{ matrix.size }}${{ matrix.option }} -v ./haraka-aesni/...
- name: Run go test
run: |
export CGO_ENABLE=1
go test --tags=haraka_aesni,sphincs_${{ matrix.hash }}_${{ matrix.size }}${{ matrix.option }} -v ./haraka-aesni/...
# vim: set ft=yaml ts=2 sw=2 et :