Skip to content

Commit

Permalink
Added new set of build configurations to Linux CI script.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBanana committed Aug 17, 2023
1 parent fd9d4ae commit 03bff11
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build_linux:
strategy:
matrix:
ext: [Full, Limited]
lib: [Shared, Static]
config: [Release, Debug]
fail-fast: false
Expand All @@ -18,6 +19,7 @@ jobs:

env:
README: ${{ github.workspace }}/README.txt
EXT_FULL: ${{ matrix.ext == 'Full' && 'ON' || 'OFF' }}

steps:
- name: Checkout Repository
Expand All @@ -37,13 +39,16 @@ jobs:
cmake -S . -B ${{github.workspace}}/Linux-x86_64
-DCMAKE_BUILD_TYPE=${{ matrix.config }}
-DLLGL_BUILD_STATIC_LIB=${{ matrix.lib == 'Static' && 'ON' || 'OFF' }}
-DLLGL_BUILD_RENDERER_NULL=${{ env.EXT_FULL }}
-DLLGL_BUILD_RENDERER_OPENGL=ON
-DLLGL_BUILD_RENDERER_VULKAN=ON
-DLLGL_BUILD_RENDERER_VULKAN=${{ env.EXT_FULL }}
-DLLGL_BUILD_EXAMPLES=ON
-DLLGL_BUILD_TESTS=ON
-DLLGL_BUILD_WRAPPER_C99=ON
-DLLGL_ENABLE_SPIRV_REFLECT=ON
-DLLGL_BUILD_WRAPPER_C99=${{ env.EXT_FULL }}
-DLLGL_ENABLE_SPIRV_REFLECT=${{ env.EXT_FULL }}
-DLLGL_GL_ENABLE_OPENGL2X=ON
-DLLGL_GL_ENABLE_DSA_EXT=${{ env.EXT_FULL }}
-DLLGL_GL_ENABLE_VENDOR_EXT=${{ env.EXT_FULL }}
- name: Build
run: cmake --build ${{github.workspace}}/Linux-x86_64 --config ${{ matrix.config }}
Expand All @@ -60,7 +65,7 @@ jobs:
- name: Upload Binaries
uses: actions/upload-artifact@v3
if: matrix.lib == 'Shared' && matrix.config == 'Release'
if: matrix.ext == 'Full' && matrix.lib == 'Shared' && matrix.config == 'Release'
with:
name: LLGL-Ubuntu-${{ matrix.config }}-x86_64
path: |
Expand Down

0 comments on commit 03bff11

Please sign in to comment.