This commit is contained in:
Kreyren 2020-02-11 20:49:33 +00:00
parent 1580fa6415
commit b3c34b3bf7
4 changed files with 48 additions and 13 deletions

@ -101,7 +101,7 @@ jobs:
build-clang-cpp-gentoo:
runs-on: ubuntu-latest
steps:
- uses: docker://agentoo/stage3-amd64:latest
- uses: docker://gentoo/stage3-amd64:latest
- uses: actions/checkout@v2
- name: building..
run: make build-clang-cpp

@ -10,14 +10,43 @@ on:
jobs:
# Kernel specific builds
build-vlang:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
build-ubuntu-vlang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: building..
- name: Install dependencies
run: |
if ! command -v v >/dev/null; then
wget https://github.com/vlang/v/releases/latest/download/v_linux.zip -O "$HOME/.cache/vlang.zip"
[ ! -d /opt/vlang ] && mkdir /opt/vlang
[ ! -f /opt/vlang/v ] && unzip "$HOME/.cache/vlang.zip" -d /opt/vlang/v
[ ! -x /usr/bin/v ] && ln -sf /usr/bin/v /opt/vlang/v
fi
- name: Building..
run: make build-vlang
build-darwin-vlang:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
if ! command -v v >/dev/null; then
wget https://github.com/vlang/v/releases/latest/download/v_linux.zip -O "$HOME/.cache/vlang.zip"
[ ! -d /opt/vlang ] && mkdir /opt/vlang
[ ! -f /opt/vlang/v ] && unzip "$HOME/.cache/vlang.zip" -d /opt/vlang/v
[ ! -x /usr/bin/v ] && ln -sf /usr/bin/v /opt/vlang/v
fi
- name: Building..
run: make build-vlang
build-windows-vlang:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
ECHO fixme
EXIT
- name: Building..
run: make build-vlang
# Docker builds

@ -30,7 +30,7 @@ jobs:
make build-gcc-c
# NOTICE: This requires to input the arguments invidually
# FIXME: Use regex to gather arguments
valgrind --leak-check=yes -v build/build-gcc-c/zernit-gcc-c -h -unexpected
valgrind --leak-check=full -v build/build-gcc-c/zernit-gcc-c -h -unexpected
## Valgrind on clang
valgrind-clang:
runs-on: ubuntu-latest
@ -43,7 +43,7 @@ jobs:
make build-clang-c
# NOTICE: This requires to input the arguments invidually
# FIXME: Use regex to gather arguments
valgrind --leak-check=yes -v build/build-clang-c/zernit-clang-c -h -unexpected
valgrind --leak-check=full -v build/build-clang-c/zernit-clang-c -h -unexpected
# Kernel specific builds
build-macos-gcc-c:
runs-on: macos-latest
@ -61,13 +61,19 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: building..
- name: Building..
run: make build-clang-c
build-windows-clang-c:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: building..
- name: Downloading dependencies..
run: Invoke-WebRequest -OutFile LLVM-3.7.0-win64.exe https://releases.llvm.org/3.7.0/LLVM-3.7.0-win64.exe
- name: Install dependencies..
run: |
echo FIXME_INSTALL_CLANG
EXIT
- name: Building..
run: make build-clang-c
# Docker builds
@ -127,7 +133,7 @@ jobs:
build-clang-c-gentoo:
runs-on: ubuntu-latest
steps:
- uses: docker://agentoo/stage3-amd64:latest
- uses: docker://gentoo/stage3-amd64:latest
- uses: actions/checkout@v2
- name: building..
run: make build-clang-c