Update .gitlab-ci.yml file

This commit is contained in:
Jess 2022-11-16 13:37:20 +00:00
parent 058ab5c4ec
commit eb3cb4679c
1 changed files with 24 additions and 0 deletions

24
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,24 @@
# This CI file is used to test code pushed to "main".
image: ubuntu:rolling # Using rolling because of that OpenSSL vuln.
# Use Docker, because it just works.
before_script:
- apt update # Build a package cache with apt, because Ubuntu on Docker doesn't have one by default.
- apt install git bash libpng-dev build-essential binutils-arm-none-eabi -y # Install build dependencies.
- git config --global http.sslVerify false # disable SSL for git so that cloning the game doesn't fudge everything up.
build:
stage: build
script:
- echo "Do your build here"
- mkdir work-directory
- cd work-directory
- git clone --recursive https://gitgud.io/tbld/game.git # clone recursively so that we don't have to get agbcc ourselves
- cd game
- cd agbcc
- bash ./build.sh # Compile agbcc
- bash ./install.sh ../ # Install agbcc into tumbledemerald
- cd ..
- make -j8 # multi-threaded make