Skip to content

try fix & some additions #8

try fix & some additions

try fix & some additions #8

Workflow file for this run

name: Test build
on:
push:
branches: [
"stable",
"dev-stable"
]
pull_request:
branches: [
"stable",
"dev-stable"
]
env:
BUILD_TYPE: Release
jobs:
installPrograms:
runs-on: ubuntu-latest
steps:
- name: Install wget
run: sudo apt install wget
- name: Istall 7z
run: sudo apt install p7zip-full
- name: Install cmake
run: sudo apt install cmake && cmake --version
- name: Install fasm
run: sudo apt install fasm
- name: Install kos32-gcc toolchain
working-directory: ~/
run: git clone https://github.com/Egor00f/kolibrios-gcc-toolchain.git && cd kolibrios-gcc-toolchain && chmod u+x install && ./install
build:
runs-on: ubuntu-latest
needs: installPrograms
steps:
- name: Checkout
uses: actions/checkout@v4.2.0
- name: KolibriOS repo
run: cd ${{github.workspace}}/../ && git clone https://git.kolibrios.org/KolibriOS/kolibrios.git
- name: Configure CMake
run: cd ${{github.workspace}} && cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/cmake/toolchain.cmake
- name: Build
run: cmake --build ${{github.workspace}}/build --target all --config ${{env.BUILD_TYPE}}