mess. Changed majority of code to use dynamic length of array. Broke … #5
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: Unit Tests / Required / Dynamic / Linux | |
on: push | |
jobs: | |
test: | |
name: Ubuntu | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install Dependencies | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
sudo apt-get -qq update | |
sudo apt-get -qq upgrade -y | |
sudo apt-get -qq install -y --no-install-recommends \ | |
ca-certificates \ | |
git \ | |
clang \ | |
libboost-dev \ | |
libboost-filesystem-dev \ | |
libboost-locale-dev \ | |
libboost-regex-dev \ | |
libboost-system-dev \ | |
libcairo2-dev \ | |
libglew-dev \ | |
libglm-dev \ | |
libsdl2-dev \ | |
libsdl2-image-dev \ | |
libsdl2-mixer-dev \ | |
libsdl2-ttf-dev \ | |
libvorbis-dev \ | |
make | |
- name: Checkout Anura | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
submodules: true | |
- name: Build Anura | |
env: | |
CXX: clang | |
# Number of cores * 3 | |
run: make -j "$(($(getconf _NPROCESSORS_ONLN) * 3))" | |
- name: Run Unit Tests | |
run: ./anura --tests |