Skip to content

[Leo] Fix memorystrided accuracy: match native benchmark, add store forwarding #847

[Leo] Fix memorystrided accuracy: match native benchmark, add store forwarding

[Leo] Fix memorystrided accuracy: match native benchmark, add store forwarding #847

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Build
run: go build -v ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Install golangci-lint from source
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: Run golangci-lint
run: golangci-lint run
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Install Ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo@latest
- name: Run Unit Tests
run: |
ginkgo -r --skip-package=benchmarks --randomize-all --randomize-suites \
--fail-on-pending --keep-going --cover --coverprofile=coverage.out \
--race --trace --json-report=unit-test-report.json
- name: Upload Coverage
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage.out
acceptance-tests:
name: Acceptance Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Run Acceptance Tests
run: go test -v -short -timeout 5m ./benchmarks/...