mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
31 lines
795 B
YAML
31 lines
795 B
YAML
name: Build Vinix kernel
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ["Other CI"]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
vinix-build:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install build-essential meson -y
|
|
|
|
- name: Build V
|
|
run: make
|
|
|
|
- name: Clone current Vinix
|
|
run: git clone https://github.com/vlang/vinix.git
|
|
|
|
- name: Attempt to build the Vinix kernel (debug)
|
|
run: cd vinix/kernel && make PROD=false CFLAGS="-D__vinix__ -O2 -g -pipe" V="../../v" && make clean
|
|
|
|
- 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
|