From 8dc66fca0fef08c418a69a5a2c13c78e38fad25a Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Fri, 16 Jul 2021 23:45:42 -0700 Subject: [PATCH] add options matrix --- .github/workflows/c-cpp.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 660d6a93..6a72a9f6 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -11,6 +11,12 @@ jobs: runs-on: ubuntu-latest + strategy: + matrix: + debug: [enable-debug, disable-debug] + release: [enable-release, disable-release] + network: [enable-network, disable-network] + steps: - uses: actions/checkout@v2 - name: install dependencies @@ -18,7 +24,12 @@ jobs: - name: autogen run: ./autogen.sh - name: configure - run: ./configure --enable-release --disable-debug --enable-editor --with-opengl + run: | + ./configure --with-opengl --enable-editor \ + --${{ matrix.debug }} \ + --${{ matrix.release }} \ + --${{ matrix.network }} + - name: make run: make - name: make check -- 2.39.2