Working Game! #2
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
# Continuous Integration Build Workflow | |
name: "CI" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
RGBDS_VERSION: "v0.7.0" | |
jobs: | |
build: | |
name: "Build" | |
runs-on: ubuntu-latest | |
steps: | |
# INSTALL DEPENDENCIES | |
- name: "Install build dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install bison gcc git make wget -y; | |
# CHECKOUT RGBDS | |
- name: "Checkout gbdev/rgbds" | |
uses: actions/checkout@v4 | |
with: | |
path: rgbds | |
ref: ${{ env.RGBDS_VERSION }} | |
repository: gbdev/rgbds | |
# INSTALL RGBDS | |
- name: "Install gbdev/rgbds" | |
working-directory: rgbds | |
run: | | |
sudo make install | |
# CHECKOUT REPOSITORY | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
# BUILD ROM | |
- name: "Build ROM" | |
run: | | |
make |