world compression #2337
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push] | |
jobs: | |
windows: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- name: fetch maps plugin | |
working-directory: scripts | |
run: | | |
mkdir ..\plugins | |
pushd ..\plugins | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_maps.git maps | |
- name: fetch gltf plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_gltf.git gltf_import | |
- name: fetch shader_editor plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_shader_editor.git shader_editor | |
- name: fetch network plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_net.git net | |
- name: fetch js plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_js.git js | |
- name: fetch marketplace plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_market.git market | |
- name: fetch procedural geometry plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_procedural_geom.git procedural_geom | |
- name: fetch visual script plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_visualscript.git visual_script | |
- name: fetch livecode plugin | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumixengine_livecode.git livecode | |
- name: fetch empty plugin template | |
working-directory: plugins | |
run: | | |
git.exe clone --depth=1 https://github.com/nem0/lumix_plugin_template.git myplugin | |
- name: make VS project with plugins and app | |
working-directory: scripts | |
run: | | |
./genie.exe --with-app vs2022 | |
- name: build | |
working-directory: scripts | |
shell: cmd | |
run: | | |
"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/MSBuild/Current/Bin/MSBuild.exe" -v:m tmp/vs2022/LumixEngine.sln /p:Configuration=RelWithDebInfo | |
# linux: | |
# runs-on: ubuntu-22.04 | |
# steps: | |
# - uses: actions/checkout@v1 | |
# with: | |
# fetch-depth: 1 | |
# - name: Install Dependencies | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install gcc-10 | |
# sudo apt-get install g++-10 | |
# sudo apt-get install mesa-common-dev | |
# sudo apt-get install libasound2-dev | |
# sudo apt-get install libgl1-mesa-dev | |
# sudo apt-get install libgl1-mesa-glx | |
# sudo apt-get install libxi-dev | |
# sudo apt-get install libgtk-3-dev | |
# - name: Download 3rdparties | |
# run: | | |
# cd scripts | |
# mkdir -p ../external/freetype/lib/linux64_gmake/release | |
# mkdir -p 3rdparty/ | |
# mkdir -p ../external/physx/lib/linux | |
# mkdir -p ../external/recast/lib/linux64_gmake/release | |
# git clone --depth=1 https://github.com/nem0/lumixengine_linux_3rdparty_bin.git | |
# git clone --depth=1 https://github.com/nem0/luau.git 3rdparty/luau | |
# cp lumixengine_linux_3rdparty_bin/freetype/* ../external/freetype/lib/linux64_gmake/release | |
# cp lumixengine_linux_3rdparty_bin/physx/* ../external/physx/lib/linux | |
# cp lumixengine_linux_3rdparty_bin/recast/* ../external/recast/lib/linux64_gmake/release | |
# - name: build | |
# run: | | |
# cd scripts | |
# ./genie --force-build-luau gmake | |
# cd tmp/gmake | |
# make -j | |
# env: | |
# CC: gcc-10 | |
# CXX: g++-10 |