|
|
@@ -0,0 +1,24 @@
|
|
|
+name: CMake
|
|
|
+
|
|
|
+on:
|
|
|
+ push:
|
|
|
+ branches: [ master ]
|
|
|
+ pull_request:
|
|
|
+ branches: [ master ]
|
|
|
+
|
|
|
+jobs:
|
|
|
+ Linux_debug_gcc:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+
|
|
|
+ steps:
|
|
|
+ - name: Install dependencies
|
|
|
+ run: sudo apt install libx11-dev libx11-xcb-dev clang gcc
|
|
|
+
|
|
|
+ - name: Clone
|
|
|
+ uses: actions/checkout@v2
|
|
|
+
|
|
|
+ - name: Configure CMake
|
|
|
+ run: cmake -B ${{github.workspace}}/build -DANKI_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=g++ -DCMAKE_C_COMPILER=gcc -DCMAKE_BUILD_TYPE=Debug -DANKI_EXTRA_CHECKS=ON
|
|
|
+
|
|
|
+ - name: Build
|
|
|
+ run: cmake --build ${{github.workspace}}/build --config Debug
|