-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (34 loc) · 973 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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.2.0
- name: Install Toolchain
uses: Egor00f/install-kolibrios-toolchain-action@main
- name: Install depends
run: sudo apt install fasm
- name: KolibriOS repo
run: |
${{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}}