-
Notifications
You must be signed in to change notification settings - Fork 10
33 lines (31 loc) · 938 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
name: Build nightingale
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install OS dependancies
run: |
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git make cmake ninja-build ruby xorriso mtools qemu-system wget
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
- name: build
run: |
cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=toolchain/CMake/CMakeToolchain.txt
cmake --build build
- name: Upload ISO
uses: actions/upload-artifact@v2
with:
name: ngos.iso
path: ngos.iso
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ngos.iso