diff --git a/.github/workflows/vinix_kernel_ci.yml b/.github/workflows/vinix_ci.yml similarity index 68% rename from .github/workflows/vinix_kernel_ci.yml rename to .github/workflows/vinix_ci.yml index 88e000ef8e61a0..779e916ce6613b 100644 --- a/.github/workflows/vinix_kernel_ci.yml +++ b/.github/workflows/vinix_ci.yml @@ -1,4 +1,4 @@ -name: Build Vinix kernel +name: Build Vinix on: pull_request: @@ -14,6 +14,7 @@ jobs: vinix-build: runs-on: ubuntu-20.04 if: github.event_name != 'push' || github.event.ref == 'refs/heads/master' || github.event.repository.full_name != 'vlang/v' + timeout-minutes: 3 env: VFLAGS: -gc none steps: @@ -35,3 +36,9 @@ jobs: - name: Attempt to build the Vinix kernel (prod) run: cd vinix/kernel && make PROD=true CFLAGS="-D__vinix__ -O2 -g -pipe" V="../../v" && make clean + + - name: Attempt to build the util-vinix (debug) + run: cd vinix/util-vinix && make PROD=false V="$(realpath ../../v)" VFLAGS="-os vinix -gc none" CFLAGS="-D__vinix__ -O2 -g -pipe" && make clean + + - name: Attempt to build the util-vinix (prod) + run: cd vinix/util-vinix && make PROD=true V="$(realpath ../../v)" VFLAGS="-os vinix -gc none" CFLAGS="-D__vinix__ -O2 -g -pipe" && make clean