Skip to content

Implement conformance handler #111

Implement conformance handler

Implement conformance handler #111

Workflow file for this run

name: Go CI
on:
push:
pull_request:
jobs:
ubuntu:
name: Build and Test on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.12'
- name: Install Boost library
run: |
sudo apt-get update
sudo apt-get install -y libboost-all-dev
- name: Build Kernel
run: make build-kernel
- name: Build
run: make build
- name: Run tests
run: make test
macos:
name: Build and Test on macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.12'
- name: Install Boost library
run: |
brew install boost
- name: Build Kernel
run: make build-kernel
- name: Build
run: make build
- name: Run tests
run: make test
windows:
name: Build and Test on Windows
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v4
- name: Set up MSYS2 with MinGW
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
path-type: inherit
install: >-
mingw-w64-x86_64-gcc
mingw-w64-x86_64-cmake
mingw-w64-x86_64-boost
make
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.12'
- name: Build Kernel
run: make build-kernel
- name: Build
run: make build
- name: Run tests
run: make test
nix:
name: Build, Test, and Lint with Nix (Ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check flake
run: nix flake check --show-trace
- name: Build Kernel
run: nix develop --command make build-kernel
- name: Build
run: nix develop --command make build
- name: Run tests
run: nix develop --command make test
- name: Run linter
run: nix develop --command make lint
conformance:
name: Conformance Tests
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
platform: darwin_arm64
- os: macos-15-intel
platform: darwin_amd64
- os: ubuntu-latest
platform: linux_amd64
- os: ubuntu-24.04-arm
platform: linux_arm64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.12'
- name: Install dependencies (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libboost-all-dev
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install boost
- name: Build Kernel
run: make build-kernel
- name: Run conformance tests
working-directory: cmd/conformance-handler
run: make test