Skip to content

Commit

Permalink
linux ci run unit tests with xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed Sep 19, 2024
1 parent 1802ac4 commit 7aae8b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@
name: build and unit test,
run: '.\.github\workflows\scripts\win\scons-build.bat'
},

]
},
# win-mingw: {
Expand Down Expand Up @@ -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 changes: 3 additions & 0 deletions .github/workflows/scripts/linux/scons-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh -ve

CCFLAGS=-fdiagnostics-color=always scons

0 comments on commit 7aae8b3

Please sign in to comment.