Implement runtime display (test) (#318)

* Implement runtime display (test)

* Update runtime.cpp

* [game display] add "-nodisplay" argument

* style fixes

* Update gfx.cpp

* [deci2server] fix deadlock when killing a Deci2Server

* add libxrandr to linux github test

* correct package name to libxrandr-dev

* set g_main_thread_id in exec_runtime

* add libxinerama to linux test packages

* correct the name

* add libxcursor1 package

* Update linux-workflow.yaml

* add libxi-dev

* fix constructor for g_main_thread_id

* fix submodules + use -nodisplay during tests

* move the gfx loop to its own function and use a lambda for exit conditions

* fix include

* fix include

* fix includes (for real this time)
This commit is contained in:
ManDude
2021-03-10 04:51:28 +00:00
committed by GitHub
parent 8bba3d7fd7
commit 9430b4772a
22 changed files with 27947 additions and 18 deletions
+2 -1
View File
@@ -46,6 +46,7 @@ jobs:
path: |
./third-party/googletest
./third-party/zydis
./third-party/glfw
./.git/modules/
- name: Checkout Submodules
@@ -69,7 +70,7 @@ jobs:
echo "##[set-output name=artifact-metadata;]${ARTIFACT_NAME}"
- name: Get Package Dependencies
run: sudo apt install build-essential cmake ccache clang gcc g++ lcov make nasm
run: sudo apt install build-essential cmake ccache clang gcc g++ lcov make nasm libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
# # -- SETUP CCACHE - https://cristianadam.eu/20200113/speeding-up-c-plus-plus-github-actions-using-ccache/
# - name: Prepare ccache timestamp
+1
View File
@@ -45,6 +45,7 @@ jobs:
path: |
./third-party/googletest
./third-party/zydis
./third-party/glfw
./.git/modules/
- name: Checkout Submodules