perf(cortex/tensor): GEMV specialisation for M=1 — GenerateFast 100ms… #70
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| name: Validate Nexus Cortex | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
| - name: Set up Go | |
| uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
| with: | |
| # Sursa de adevăr e go.mod (directiva `go 1.26.2`). Folosind | |
| # go-version-file evităm drift-ul între CI și dezvoltatori. | |
| go-version-file: 'go.mod' | |
| cache: true | |
| - name: Go vet | |
| run: go vet ./... | |
| - name: Go test | |
| run: go test -count=1 -timeout 180s ./... | |
| - name: Fuzz UnmarshalTernaryLayer smoke | |
| run: go test -run=^$ -fuzz=FuzzUnmarshalTernaryLayer -fuzztime=15s ./cortex | |
| - name: Fuzz LoadSemanticMemory smoke | |
| run: go test -run=^$ -fuzz=FuzzLoadSemanticMemory -fuzztime=15s ./cortex | |
| - name: Fuzz FractalCortexLoadMetadata smoke | |
| run: go test -run=^$ -fuzz=FuzzFractalCortexLoadMetadata -fuzztime=15s ./cortex | |
| - name: Build all commands | |
| run: go build ./cmd/... | |
| # - name: Vulnerability check # disabled for CI stability | |
| # run: go run golang.org/x/vuln/cmd/govulncheck@v1.3.0 ./... | |
| # | |
| # - name: Static analysis # disabled for CI stability | |
| # run: go run honnef.co/go/tools/cmd/staticcheck@v0.6.1 ./... | |
| # | |
| # - name: Security scan # disabled for CI stability | |
| # run: go run github.com/securego/gosec/v2/cmd/gosec@v2.22.4 -exclude=G115,G104 -quiet ./... | |
| # continue-on-error: true | |
| - name: Build with WebGPU tag (compile-only) | |
| run: go build -tags webgpu ./cortex/compute/... |