Skip to content

Commit

Permalink
ci: extend vinix ci to include utils (#19123)
Browse files Browse the repository at this point in the history
* ci: extend vinix ci to include utils

* rename vinix_kernel_ci to vinix_ci
  • Loading branch information
ttytm authored Aug 13, 2023
1 parent 88d3326 commit f7187a7
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Vinix kernel
name: Build Vinix

on:
pull_request:
Expand All @@ -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:
Expand All @@ -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

0 comments on commit f7187a7

Please sign in to comment.