linux ci run unit tests with xvfb
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -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'
|
||||
}
|
||||
],
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
3
.github/workflows/scripts/linux/scons-build.sh
vendored
Executable file
3
.github/workflows/scripts/linux/scons-build.sh
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh -ve
|
||||
|
||||
CCFLAGS=-fdiagnostics-color=always scons
|
Reference in New Issue
Block a user