WIP: Initial linux support using SDL (#136)
* Initial linux support using SDL * fixed link error and gitignore * fix in working directory initialization (windows side) * Added README_Linux and fixed a few compilation issues in ubuntu * Rename main to main_Windows in Tests * Better default renderering backend selector * Added backlog terminal output on linux * added asserts on all missing vulkan function call results * added portable file dialogs also small tests update and cleanup * Added Editor compile target * linux ci * linux ci * cmake update * cmake update? * cmake * Editor_Windows fix * build test * make * build tools? * update * ubuntu 20.04 * fix? * cmake * build * build? * package linux build * updates, bump version * backslash to forward slash, eof newlines, add portable-file-dialogs license * xcopy needs backslash duh; update readme; * copy fix * updated readme * readme update * updated readme * updated readme * fix incorrect file encoding linux * paint tool fix * linux: add missing shaders * packaging update Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com> Co-authored-by: Turanszki Janos <turanszkij@gmail.com>
This commit is contained in:
+110
-35
@@ -19,51 +19,126 @@ jobs:
|
||||
- name: Move binaries
|
||||
shell: cmd
|
||||
run: |
|
||||
move BUILD\x64\Release\Editor_Windows\Editor_Windows.exe Editor
|
||||
xcopy WickedEngine\dxcompiler.dll Editor
|
||||
move BUILD\x64\Release\Editor_Windows\Editor_Windows.exe Editor\
|
||||
xcopy WickedEngine\dxcompiler.dll Editor\
|
||||
|
||||
move BUILD\x64\Release\Tests\Tests.exe Tests
|
||||
xcopy WickedEngine\dxcompiler.dll Tests
|
||||
move BUILD\x64\Release\Tests\Tests.exe Tests\
|
||||
xcopy WickedEngine\dxcompiler.dll Tests\
|
||||
|
||||
- name: Package Editor
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Editor (Windows x64)
|
||||
path: |
|
||||
WickedEngine\shaders\
|
||||
WickedEngine\fonts\
|
||||
images\
|
||||
models\
|
||||
scripts\
|
||||
Documentation\
|
||||
*.txt
|
||||
*.md
|
||||
Editor\*.exe
|
||||
Editor\images\
|
||||
Editor\sound\
|
||||
Editor\*.ini
|
||||
Editor\*.ico
|
||||
Editor\*.lua
|
||||
Editor\*.dll
|
||||
WickedEngine/shaders/
|
||||
WickedEngine/fonts/
|
||||
images/
|
||||
models/
|
||||
scripts/
|
||||
Documentation/
|
||||
README.md
|
||||
LICENSE.md
|
||||
other_licenses.txt
|
||||
features.txt
|
||||
Editor/images/
|
||||
Editor/sound/
|
||||
Editor/*.ini
|
||||
Editor/*.ico
|
||||
Editor/*.lua
|
||||
Editor/*.exe
|
||||
Editor/*.dll
|
||||
|
||||
- name: Package Tests
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Tests (Windows x64)
|
||||
path: |
|
||||
WickedEngine\shaders\
|
||||
WickedEngine\fonts\
|
||||
images\
|
||||
models\
|
||||
scripts\
|
||||
Documentation\
|
||||
*.txt
|
||||
*.md
|
||||
Tests\*.exe
|
||||
Tests\images\
|
||||
Tests\sound\
|
||||
Tests\*.ini
|
||||
Tests\*.ico
|
||||
Tests\*.lua
|
||||
Tests\*.dll
|
||||
Tests\*.ttf
|
||||
WickedEngine/shaders/
|
||||
WickedEngine/fonts/
|
||||
images/
|
||||
models/
|
||||
scripts/
|
||||
Documentation/
|
||||
README.md
|
||||
LICENSE.md
|
||||
other_licenses.txt
|
||||
features.txt
|
||||
Tests/images/
|
||||
Tests/sound/
|
||||
Tests/*.ini
|
||||
Tests/*.ico
|
||||
Tests/*.lua
|
||||
Tests/*.ttf
|
||||
Tests/*.exe
|
||||
Tests/*.dll
|
||||
|
||||
|
||||
linux:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
|
||||
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.2.148-focal.list https://packages.lunarg.com/vulkan/1.2.148/lunarg-vulkan-1.2.148-focal.list
|
||||
sudo apt update
|
||||
sudo apt install vulkan-sdk
|
||||
sudo apt install libsdl2-dev
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
|
||||
- name: Move binaries
|
||||
run: |
|
||||
mv build/Editor/WickedEngineEditor Editor/
|
||||
mv build/Tests/Tests Tests/
|
||||
|
||||
- name: Package Editor
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Editor (Ubuntu 20.04)
|
||||
path: |
|
||||
WickedEngine/shaders/
|
||||
WickedEngine/fonts/
|
||||
images/
|
||||
models/
|
||||
scripts/
|
||||
Documentation/
|
||||
README.md
|
||||
LICENSE.md
|
||||
other_licenses.txt
|
||||
features.txt
|
||||
Editor/images/
|
||||
Editor/sound/
|
||||
Editor/*.ini
|
||||
Editor/*.ico
|
||||
Editor/*.lua
|
||||
Editor/WickedEngineEditor
|
||||
|
||||
- name: Package Tests
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Tests (Ubuntu 20.04)
|
||||
path: |
|
||||
WickedEngine/shaders/
|
||||
WickedEngine/fonts/
|
||||
images/
|
||||
models/
|
||||
scripts/
|
||||
Documentation/
|
||||
README.md
|
||||
LICENSE.md
|
||||
other_licenses.txt
|
||||
features.txt
|
||||
Tests/images/
|
||||
Tests/sound/
|
||||
Tests/*.ini
|
||||
Tests/*.ico
|
||||
Tests/*.lua
|
||||
Tests/*.ttf
|
||||
Tests/Tests
|
||||
|
||||
Reference in New Issue
Block a user