Skip to content

Commit

Permalink
Use github actions for CI builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster committed Sep 7, 2022
1 parent 1c9c55d commit 7298fb0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 59 deletions.
56 changes: 0 additions & 56 deletions .circleci/config.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build:
uses: linuxmint/github-actions/.github/workflows/do-builds.yml@master
with:
commit_id: master
############################## Comma separated list - like 'linuxmint/xapp, linuxmint/cinnamon-desktop'
dependencies:
##############################

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![build](https://github.com/linuxmint/xapp/actions/workflows/build.yml/badge.svg)

This project gathers the components which are common to multiple GTK desktop environments (Cinnamon, MATE and Xfce) and required to implement cross-DE solutions.

# libxapp
Expand Down
1 change: 0 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Build-Depends:
libxkbfile-dev,
meson,
python3,
python3-gi,
python-gi-dev,
valac,
Standards-Version: 3.9.6
Expand Down
7 changes: 5 additions & 2 deletions pygobject/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ pygobject = dependency('pygobject-3.0',
)

override_dir = get_option('py-overrides-dir')
exec = find_program(['python3', 'python'])

if override_dir == ''
r = run_command(exec, '-c', 'import gi;print(gi._overridesdir)')
exec = find_program(['python3', 'python'])

r = run_command(exec, '-c', 'import gi;print(gi._overridesdir)', check: false)

if r.returncode() != 0
error('Error getting the GObject Introspection override directory: ' + r.stderr())
Expand All @@ -16,6 +17,8 @@ if override_dir == ''
override_dir = r.stdout().strip()
endif

message('PyGObject overrides dir: ' + override_dir)

install_data(['XApp.py'],
install_dir: override_dir,
)

0 comments on commit 7298fb0

Please sign in to comment.