Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI

on:
push:
branches: [ master, main ]
paths-ignore:
- .editorconfig
- .gitignore
- '*.md'
pull_request:
branches: [ master, main ]
paths-ignore:
- .editorconfig
- .gitignore
- '*.md'
workflow_dispatch:

jobs:
# Header-only validation across platforms
header-validation:
name: Header validation on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure CMake
run: cmake -B build -DKMTEST_BUILD_SAMPLES=OFF

- name: Build
run: cmake --build build

# Windows specific builds (kernel mode samples require WDK)
windows-build:
name: Windows Build ${{ matrix.platform }}-${{ matrix.configuration }}
runs-on: windows-2022

strategy:
fail-fast: true
matrix:
platform: [x64]
configuration: [Debug, Release]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2

- name: Build samples
shell: powershell
run: |
# Build the solution (may fail for now, but we'll fix it later)
msbuild samples\Samples.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} /m
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# KmTest
Kernel-mode C++ unit testing framework in BDD-style [![Build status](https://ci.appveyor.com/api/projects/status/oh90njhd50dfwco0/branch/master?svg=true)](https://ci.appveyor.com/project/SergiusTheBest/kmtest/branch/master)
Kernel-mode C++ unit testing framework in BDD-style [![CI](https://github.com/SergiusTheBest/kmtest/actions/workflows/ci.yml/badge.svg)](https://github.com/SergiusTheBest/kmtest/actions/workflows/ci.yml)

- [Introduction](#introduction)
- [Features](#features)
Expand Down
18 changes: 0 additions & 18 deletions appveyor.yml

This file was deleted.

Loading