Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 2f33e7d
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 12:24:46 2022 +0200

    tweak workflow 2

commit 2c0c178
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 12:20:37 2022 +0200

    version bump 3.1.1

commit 528dd8a
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 12:15:38 2022 +0200

    tweak build workflow

commit 5a52e44
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 12:03:51 2022 +0200

    adjust minimal cmake version

commit c941257
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 11:53:42 2022 +0200

    remove gcc check

commit df5c6f2
Author: SwissalpS <Luke@SwissalpS.ws>
Date:   Thu Jul 28 16:17:12 2022 +0200

    adjust vte path

commit 743aa6d
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 11:40:45 2022 +0200

    Update build.yml

commit 9c6f031
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 11:36:58 2022 +0200

    Update build.yml

commit 72c25dc
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 11:29:00 2022 +0200

    second attempt

commit 4c3198b
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
Date:   Fri Sep 9 11:16:12 2022 +0200

    first attempt
  • Loading branch information
SwissalpS committed Sep 9, 2022
1 parent aae8a3e commit e45e355
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build termit

on: [push, pull_request]

jobs:
fedora_latest_build:
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1000
- name: Prepare build environment.
run: |
dnf -y upgrade
dnf -y install cmake gcc gtk+ vte291 vte291-devel lua lua-devel
- name: Configure
run: |
cmake -DCMAKE_BUILD_TYPE=Release .
- name: Build
run: |
make
- name: Install
run: |
make install
- name: Test version
run: |
termit --version
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

PROJECT(TERMIT C)

cmake_minimum_required(VERSION 2.6.1 FATAL_ERROR)
cmake_minimum_required(VERSION 2.6.1...3.22.2 FATAL_ERROR)
SET(CMAKE_VERSION "${CMAKE_CACHE_MAJOR_VERSION}.${CMAKE_CACHE_MINOR_VERSION}.${CMAKE_CACHE_RELEASE_VERSION}")

INCLUDE(UsePkgConfig)
Expand All @@ -38,7 +38,7 @@ SET(ENABLE_NLS TRUE CACHE BOOL "enable translation")
SET(XDG_DIR ${XDG_DIR} CACHE STRING "default xdg dir")

SET(TERMIT_PACKAGE "termit")
SET(TERMIT_PACKAGE_VERSION "3.1.0")
SET(TERMIT_PACKAGE_VERSION "3.1.1")
SET(TERMIT_LOCALE_DIR "${CMAKE_INSTALL_PREFIX}/share/locale")
SET(TERMIT_XDG_DIR "${XDG_DIR}/termit")
SET(TERMIT_PACKAGE_NAME "termit - terminal emulator")
Expand Down
2 changes: 1 addition & 1 deletion src/termit.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <getopt.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include <vte/vte.h>
#include <vte-2.91/vte/vte.h>

#include "config.h"

Expand Down
2 changes: 1 addition & 1 deletion src/termit.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <config.h>

#include <gtk/gtk.h>
#include <vte/vte.h>
#include <vte-2.91/vte/vte.h>
#include <glib/gprintf.h>

#include <libintl.h>
Expand Down

0 comments on commit e45e355

Please sign in to comment.