update CI to use the newer makefile system

This commit is contained in:
2025-05-22 15:47:17 +02:00
parent cbefafacf8
commit 54468cbad3
5 changed files with 61 additions and 47 deletions

View File

@@ -1,11 +1,10 @@
name: tests
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
workflow_run:
workflows:
- bin
types:
- completed
jobs:
execute-tests:
runs-on: ubuntu-latest
@@ -13,9 +12,16 @@ jobs:
image: ghcr.io/thepigeongenerator/mcaselector-lite:latest
strategy:
matrix:
arch:
- linux-x86_64
# WARN: not testing win-x86_64... Probably a good idea to do that
include:
- kernel: linux
march: x86_64
cc: x86_64-linux-gnu-gcc
# WARN: not testing win-x86_64... Probably a good idea to do that
steps:
- uses: actions/checkout@v4
- run: make run-test ARCH=${{matrix.arch}} -j
- uses: actions/download-artifact@v4
with:
name: ${{matrix.march}}-${{matrix.kernel}}-rel
path: obj/
- name: execute tests for ${{matrix.march}}-${{matrix.kernel}}
run: make DEBUG=test run MARCH=${{matrix.march}} KERNEL=${{matrix.kernel}} CC=${{matrix.cc}} -j