diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b1a13320..d131c9027 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -155,7 +155,6 @@ name: build and unit test, run: '.\.github\workflows\scripts\win\scons-build.bat' }, - ] }, # win-mingw: { @@ -198,10 +197,10 @@ run: 'sudo ./.github/workflows/scripts/linux/install-tgui.sh' }, { - name: build and unit test, - run: CCFLAGS=-fdiagnostics-color=always scons + name: build and unit test headless, + run: 'xvfb-run ./.github/workflows/scripts/linux/scons-build.sh' } - ], + ] } } } diff --git a/.github/workflows/scripts/linux/scons-build.sh b/.github/workflows/scripts/linux/scons-build.sh new file mode 100755 index 000000000..3cf5f60c4 --- /dev/null +++ b/.github/workflows/scripts/linux/scons-build.sh @@ -0,0 +1,3 @@ +#!/bin/sh -ve + +CCFLAGS=-fdiagnostics-color=always scons \ No newline at end of file