summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <DaveDavenport@users.noreply.github.com>2021-11-29 21:03:14 +0100
committerGitHub <noreply@github.com>2021-11-29 21:03:14 +0100
commit92dae73bc11b2538b874ffb820c159ab97f42599 (patch)
treeaf4e2fa67b34f214d2d004a37465030cf735f6d3
parentf72d6135bd8c4903adb233457b2ca1b0ca4b2705 (diff)
Enable/Disable windowmode test (#1536)
* Enable/Disable windowmode test * [CI] Fix typo in name. * Update Changelog
-rw-r--r--.github/actions/autotools/action.yml5
-rw-r--r--.github/workflows/build.yml13
-rw-r--r--Changelog5
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.