diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/actions/autotools/action.yml | 5 | ||||
-rw-r--r-- | .github/workflows/build.yml | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/.github/actions/autotools/action.yml b/.github/actions/autotools/action.yml index db95fd3c..572f47f0 100644 --- a/.github/actions/autotools/action.yml +++ b/.github/actions/autotools/action.yml @@ -5,6 +5,9 @@ inputs: cc: description: Compiler to use required: true + windowmode: + description: Enable window mode + required: true runs: using: composite @@ -18,7 +21,7 @@ runs: mkdir builddir && cd builddir - ../configure CC=${{ inputs.cc }} + ../configure CC=${{ inputs.cc }} --${{ inputs.windowmode }}-windowmode shell: bash - id: build run: cd builddir && make diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1dcf0647..aed5e72b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,18 @@ jobs: - uses: ./.github/actions/autotools with: cc: gcc + windowmode: enable + build-autotools-gcc-no-window: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + - uses: ./.github/actions/setup + - uses: ./.github/actions/autotools + with: + cc: gcc + windowmode: disable build-autotools-clang: runs-on: ubuntu-latest steps: @@ -55,3 +67,4 @@ jobs: - uses: ./.github/actions/autotools with: cc: clang + windowmode: enable |