diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..2184d15b --- /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 00000000..6bc92651 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.o +*.d +*.so.* +*.a diff --git a/include/IrrCompileConfig.h b/include/IrrCompileConfig.h index 886a854e..c04423b7 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