diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2020-05-18 09:35:38 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-02-25 18:01:55 +0100 |
commit | 665e4309c408831e8ef843785bbcf7806a8fc04e (patch) | |
tree | 8f52b87938ae00d3650441d52208924e9b0b99a3 | |
parent | 08a2846a93e9254270f49a06869679b47724cddf (diff) | |
download | irrlicht-665e4309c408831e8ef843785bbcf7806a8fc04e.tar.xz |
Add github workflow & gitignore
-rw-r--r-- | .github/workflows/build.yml | 22 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | include/IrrCompileConfig.h | 4 |
3 files changed, 28 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2184d15 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6bc9265 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.o +*.d +*.so.* +*.a diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 886a854..c04423b 100644 --- a/include/IrrCompileConfig.h +++ b/include/IrrCompileConfig.h @@ -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.
/** If you do not wish the engine to be compiled with OpenGL ES 2.0, comment this
define out. */
-#define _IRR_COMPILE_WITH_OGLES2_
+//#define _IRR_COMPILE_WITH_OGLES2_
#ifdef NO_IRR_COMPILE_WITH_OGLES2_
#undef _IRR_COMPILE_WITH_OGLES2_
#endif
//! Define _IRR_COMPILE_WITH_WEBGL1_ to compile Irrlicht engine with a WebGL friendly
//! subset of the OpenGL ES 2.0 driver.
-#define _IRR_COMPILE_WITH_WEBGL1_
+//#define _IRR_COMPILE_WITH_WEBGL1_
#ifdef NO_IRR_COMPILE_WITH_WEBGL1_
#undef _IRR_COMPILE_WITH_WEBGL1_
#endif
|