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,
|
name: build and unit test,
|
||||||
run: '.\.github\workflows\scripts\win\scons-build.bat'
|
run: '.\.github\workflows\scripts\win\scons-build.bat'
|
||||||
},
|
},
|
||||||
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
# win-mingw: {
|
# win-mingw: {
|
||||||
@@ -198,10 +197,10 @@
|
|||||||
run: 'sudo ./.github/workflows/scripts/linux/install-tgui.sh'
|
run: 'sudo ./.github/workflows/scripts/linux/install-tgui.sh'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: build and unit test,
|
name: build and unit test headless,
|
||||||
run: CCFLAGS=-fdiagnostics-color=always scons
|
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