diff --git a/.github/workflows/ci-build-tests.yml b/.github/workflows/ci-build-tests.yml index edd69c1c15..1fa87a6ac5 100644 --- a/.github/workflows/ci-build-tests.yml +++ b/.github/workflows/ci-build-tests.yml @@ -43,6 +43,7 @@ jobs: # Native - linux_native + - simulator_linux_release # AVR - mega2560 @@ -182,6 +183,13 @@ jobs: pio upgrade --dev pio pkg update --global + - name: Install Simulator dependencies + run: | + sudo apt-get install build-essential + sudo apt-get install libsdl2-dev + sudo apt-get install libsdl2-net-dev + sudo apt-get install libglm-dev + - name: Run ${{ matrix.test-platform }} Tests run: | make tests-single-ci TEST_TARGET=${{ matrix.test-platform }} diff --git a/buildroot/tests/simulator_linux_release b/buildroot/tests/simulator_linux_release new file mode 100755 index 0000000000..826bdecc5e --- /dev/null +++ b/buildroot/tests/simulator_linux_release @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +# +# Build tests for Simulator on Linux +# + +# exit on first failure +set -e + +# +# Build with the default configurations +# +use_example_configs Simulator +exec_test $1 $2 "Simulator" "$3" + +# cleanup +restore_configs