From 92dae73bc11b2538b874ffb820c159ab97f42599 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Mon, 29 Nov 2021 21:03:14 +0100 Subject: [PATCH] Enable/Disable windowmode test (#1536) * Enable/Disable windowmode test * [CI] Fix typo in name. * Update Changelog --- .github/actions/autotools/action.yml | 5 ++++- .github/workflows/build.yml | 13 +++++++++++++ Changelog | 5 +++-- 3 files changed, 20 insertions(+), 3 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 diff --git a/Changelog b/Changelog index d27a3b09..187a94b3 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ v1.7.2: - - Fix building without window mode enabled. - - Do not print out the 'theme' field in confgiration on dump. + - [Build] Fix building without window mode enabled. + - [Config] Do not print out the 'theme' field in configuration on dump. + - [CI] test window mode less build. v1.7.1: Turtley amazing! - [Theme] Fix highlight with only theme.