From 6125383ce1e8342137ac961d1bd69dfbfe222d5e Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Fri, 14 Jul 2023 10:04:39 -0600 Subject: [PATCH] test: enable host tests on Github runners --- .github/workflows/ci.yml | 2 ++ README.md | 2 -- build.zig | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 663e665..3b9602f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,8 @@ jobs: run: zig env - name: Build test executables run: zig build all_tests -Dci --verbose + - name: Run host tests + run: zig build test_host build_and_test: runs-on: [self-hosted, Linux, X64] steps: diff --git a/README.md b/README.md index 07025b4..84431dd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Birth: an attempt to write a better operating system -![Build status](https://img.shields.io/github/actions/workflow/status/birth-software/birth/lightning.yml?branch=main) - An experiment of an operating system for modern 64-bit architectures which focuses on building robust, fast and usable system software and learning how to do it along the way. The current plan is to explore the idea of the multikernel exposed in the Barrelfish and Arrakis papers (very roughly simplified, an exokernel per core). Hopefully this academic model proves worthy, resulting in a big improvement in multiple aspects. If not, a hybrid kernel model with high-performance async syscalls will be used. diff --git a/build.zig b/build.zig index 5d0d0c7..dec85d8 100644 --- a/build.zig +++ b/build.zig @@ -193,6 +193,7 @@ pub fn build(b_arg: *Build) !void { .link_libc = true, .link_libcpp = false, }, + // Skip it because it requires sudo privileges .run_native = false, }, };