Skip to content

update postCreateCommand.sh #37

update postCreateCommand.sh

update postCreateCommand.sh #37

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:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- name: Install Toolchain
uses: Egor00f/install-kolibrios-toolchain-action@v1.1
- name: Install depends
run: sudo apt install fasm
- 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}}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: build
path: ${{ github.workspace }}/build