Skip to content

Don't panic on overallocation and remove mux (#8) #26

Don't panic on overallocation and remove mux (#8)

Don't panic on overallocation and remove mux (#8) #26

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "*"
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-22.04
- windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.work
cache-dependency-path: "**/go.sum"
- name: run tests and lints
run: go run ./build check
test-bsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.work
- name: Build
run: go test -c ./...
env:
GOOS: freebsd
- name: Test
uses: cross-platform-actions/[email protected]
with:
operating_system: freebsd
version: "14.0"
shell: bash
# It seems unlikely to have OS-dependent code outside the allocator
# package even when adding new features so simply specify it here for
# now. We will need to iterate over packages if we want to run more
# in the future.
run: ./allocator.test -test.v -test.short
sync_files: runner-to-vm