-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (29 loc) · 829 Bytes
/
ci.yml
File metadata and controls
36 lines (29 loc) · 829 Bytes
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
name: Retro Rocket CI
on:
push:
pull_request:
jobs:
iso:
name: Build and package ISO
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install apt packages
run: sudo apt-get update &&
sudo apt-get install nasm xorriso
- name: Generate CMake
run: mkdir build && cd build && cmake ..
- name: Build Project
run: cd build && make -j4
- name: Prepare for packaging
run: cd build && mkdir package && cp -rv *.sh *.iso package/
- name: Upload Binary (iso)
uses: actions/upload-artifact@v4
with:
name: "retro-rocket"
path: '${{github.workspace}}/build/package/*'