Merge pull request #32 from brainboxdotcc/dependabot/submodules/maste… #283
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
with: | |
name: "retro-rocket" | |
path: '${{github.workspace}}/build/package/*' |