CeDOS - Commit f4882fe8

ci: Execute tests and pack results Signed-off-by: Celina Sophie Kalus <hello@celinakalus.de>
Celina Sophie Kalus
Thu, 24 Jul 2025 00:02:16 +0200
1 files changed, 16 insertions(+), 4 deletions(-)
M .forgejo/workflows/build.yaml.forgejo/workflows/build.yaml

@@ -2,9 +2,7 @@ name: Build

on: push: - branches: [ main ] pull_request: - branches: [ main ] jobs: build:

@@ -24,8 +22,22 @@ cd build

cmake -GNinja .. ninja + - name: Test + run: | + export CMAKE_TOOLCHAIN_FILE="$PWD/cmake/i686-elf-toolchain.cmake" + mkdir build-tests + cd build-tests + ../test.sh + + - name: Prepare artifacts + run: | + mkdir artifacts + cp build/images/cedos.img artifacts/ + cp -r build/root artifacts/ + cp -r build-tests/logs artifacts/ + - name: Upload artifacts uses: actions/upload-artifact@v3 with: - name: image - path: build/images/cedos.img + name: artifacts + path: artifacts/