forked from Mirrorlandia_minetest/irrlicht
Add github workflow & gitignore
This commit is contained in:
parent
08a2846a93
commit
665e4309c4
22
.github/workflows/build.yml
vendored
Normal file
22
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: build
|
||||||
|
|
||||||
|
# build on c/cpp changes or workflow changes
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# This is our minor gcc compiler
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install deps
|
||||||
|
run: |
|
||||||
|
sudo apt-get install g++ gcc libxxf86vm-dev libgl1-mesa-dev -qyy
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
cd source/Irrlicht
|
||||||
|
make sharedlib
|
||||||
|
|
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*.o
|
||||||
|
*.d
|
||||||
|
*.so.*
|
||||||
|
*.a
|
@ -261,14 +261,14 @@ Depending on platform you may have to enable _IRR_OGLES1_USE_KHRONOS_API_HEADERS
|
|||||||
//! Define _IRR_COMPILE_WITH_OGLES2_ to compile the Irrlicht engine with OpenGL ES 2.0.
|
//! Define _IRR_COMPILE_WITH_OGLES2_ to compile the Irrlicht engine with OpenGL ES 2.0.
|
||||||
/** If you do not wish the engine to be compiled with OpenGL ES 2.0, comment this
|
/** If you do not wish the engine to be compiled with OpenGL ES 2.0, comment this
|
||||||
define out. */
|
define out. */
|
||||||
#define _IRR_COMPILE_WITH_OGLES2_
|
//#define _IRR_COMPILE_WITH_OGLES2_
|
||||||
#ifdef NO_IRR_COMPILE_WITH_OGLES2_
|
#ifdef NO_IRR_COMPILE_WITH_OGLES2_
|
||||||
#undef _IRR_COMPILE_WITH_OGLES2_
|
#undef _IRR_COMPILE_WITH_OGLES2_
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//! Define _IRR_COMPILE_WITH_WEBGL1_ to compile Irrlicht engine with a WebGL friendly
|
//! Define _IRR_COMPILE_WITH_WEBGL1_ to compile Irrlicht engine with a WebGL friendly
|
||||||
//! subset of the OpenGL ES 2.0 driver.
|
//! subset of the OpenGL ES 2.0 driver.
|
||||||
#define _IRR_COMPILE_WITH_WEBGL1_
|
//#define _IRR_COMPILE_WITH_WEBGL1_
|
||||||
#ifdef NO_IRR_COMPILE_WITH_WEBGL1_
|
#ifdef NO_IRR_COMPILE_WITH_WEBGL1_
|
||||||
#undef _IRR_COMPILE_WITH_WEBGL1_
|
#undef _IRR_COMPILE_WITH_WEBGL1_
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user