Fixup readme and Attempt to fixup github CI stack issue with highctidh #129
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: MacOS Golang build and test | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.OS }} | ||
strategy: | ||
matrix: | ||
OS: ["macos-14"] | ||
go-version: ["1.21.x", "1.22.0"] | ||
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: Display Go version | ||
shell: bash | ||
run: go version | ||
- name: Install golang dependencies | ||
shell: bash | ||
run: | | ||
export HIGHCTIDH_PORTABLE=1 | ||
export CGO_ENABLED=1 | ||
go get -v ./... | ||
- name: Build golang | ||
shell: bash | ||
run: | | ||
export HIGHCTIDH_PORTABLE=1 | ||
export CGO_ENABLED=1 | ||
go build -v ./... | ||
- name: Golang test | ||
shell: bash | ||
run: | | ||
export HIGHCTIDH_PORTABLE=1 | ||
export CGO_ENABLED=1 | ||
go test -v ./... | ||
env: | ||
CGO_LDFLAGS: -Wl,-stack_size,0x1F40000 |