Skip to content

Update README.md: Add link to relevant gorse.io article #25

Update README.md: Add link to relevant gorse.io article

Update README.md: Add link to relevant gorse.io article #25

Workflow file for this run

name: test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
example:
name: example
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4
- name: Install clang
uses: ConorMacBride/install-package@v1
with:
apt: clang libc6-dev-i386
- name: Install GOAT
run: go install .
- name: Run GOAT
run: goat src/avx_mul_to.c -O3 -mavx -mfma
working-directory: example
- name: Run tests
run: go test -v ./...
working-directory: example
cases:
name: cases
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4
- name: Install clang
uses: ConorMacBride/install-package@v1
with:
apt: clang libc6-dev-i386
- name: Install GOAT
run: go install .
- name: Run tests
run: |
for file in tests/*.c; do
goat $file -O3 -mavx -mfma
done