File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 4343 run : |
4444 ./Godot_v3.2.3-stable_linux_server.64 --path test -s script.gd
4545
46+ linux-cmake :
47+ name : Build (Linux, GCC, CMake)
48+ runs-on : ubuntu-16.04
49+ steps :
50+ - name : Checkout
51+ 52+ with :
53+ submodules : recursive
54+
55+ - name : Set up Python (for SCons)
56+ uses : actions/setup-python@v2
57+ with :
58+ python-version : ' 3.9.1'
59+
60+ - name : Install dependencies
61+ run : |
62+ sudo apt-get update -qq
63+ sudo apt-get install -qqq build-essential pkg-config cmake
64+ python -m pip install scons
65+ curl -LO https://downloads.tuxfamily.org/godotengine/3.2.3/Godot_v3.2.3-stable_linux_server.64.zip
66+ unzip Godot_v3.2.3-stable_linux_server.64.zip
67+
68+ - name : Build godot-cpp
69+ run : |
70+ cmake -DCMAKE_BUILD_TYPE=Release .
71+ make -j $(nproc)
72+
73+ - name : Build test GDNative library
74+ run : |
75+ scons target=release platform=linux bits=64 -j $(nproc) -C test
76+
77+ - name : Run test GDNative library
78+ run : |
79+ ./Godot_v3.2.3-stable_linux_server.64 --path test -s script.gd
80+
4681 windows-msvc :
4782 name : Build (Windows, MSVC)
4883 runs-on : windows-2019
You can’t perform that action at this time.
0 commit comments