ci: remove now-useless mlibc stuff from Vinix workflow (#13471)
parent
f9fc136c24
commit
73cf597bec
|
@ -15,23 +15,20 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install build-essential meson -y
|
sudo apt-get install build-essential meson -y
|
||||||
|
|
||||||
- name: Build V
|
- name: Build V
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
- name: Clone current Vinix
|
- name: Clone current Vinix
|
||||||
run: |
|
run: git clone https://github.com/vlang/vinix.git
|
||||||
git clone https://github.com/vlang/vinix
|
|
||||||
cd vinix && git checkout aa18fc0
|
|
||||||
- name: Clone current mlibc
|
|
||||||
run: git clone https://github.com/managarm/mlibc.git --depth=1
|
|
||||||
- name: Patch mlibc for Vinix
|
|
||||||
run: cd mlibc && patch -p1 < ../vinix/patches/mlibc/0001-Vinix-specific-changes.patch || true
|
|
||||||
- name: Install mlibc headers
|
|
||||||
run: mkdir mlibc-build && cd mlibc-build && meson --cross-file ../vinix/cross_file.txt --prefix=/ -Dheaders_only=true ../mlibc && ninja && mkdir ../mlibc-headers && DESTDIR=`realpath ../mlibc-headers` ninja install
|
|
||||||
- name: Attempt to build the Vinix kernel (debug)
|
- name: Attempt to build the Vinix kernel (debug)
|
||||||
run: cd vinix/kernel && make PROD=false CFLAGS="-D__vinix__ -O2 -g -pipe -I../../mlibc-headers/include" V="../../v" && make clean
|
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)
|
- name: Attempt to build the Vinix kernel (prod)
|
||||||
run: cd vinix/kernel && make PROD=true CFLAGS="-D__vinix__ -O2 -g -pipe -I../../mlibc-headers/include" V="../../v" && make clean
|
run: cd vinix/kernel && make PROD=true CFLAGS="-D__vinix__ -O2 -g -pipe" V="../../v" && make clean
|
||||||
|
|
Loading…
Reference in New Issue