Skip to content

Commit

Permalink
use ubuntu-latest for Github actions (#12)
Browse files Browse the repository at this point in the history
use gnome-keyring-daemon directly instead of python-gnomekeyring
  • Loading branch information
hrantzsch authored Dec 6, 2019
1 parent 969d148 commit 9526ef0
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/cmake.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,17 @@ on: [push]

jobs:
build-linux:
runs-on: ubuntu-16.04 # cannot use 18.04 -- need python-gnomekeyring to create login keyring
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Install dependencies
run: sudo apt-get install dbus-x11 dbus gnome-keyring libgnome-keyring-dev libsecret-1-dev python-gnomekeyring
run: sudo apt-get install dbus-x11 dbus gnome-keyring libgnome-keyring-dev libsecret-1-dev
- name: Run cmake
run: cmake . -DBUILD_TESTS=yes
- name: Build and run tests
run: export DISPLAY=:99.0;
NO_AT_BRIDGE=1;
eval $(dbus-launch --sh-syntax);
eval $(echo -n "" | /usr/bin/gnome-keyring-daemon --login);
eval $(/usr/bin/gnome-keyring-daemon --components=secrets --start);
/usr/bin/python -c "import gnomekeyring;gnomekeyring.create_sync('login', '');";
run: export DISPLAY=:99.0 && eval $(dbus-launch --sh-syntax) &&
echo '$(whoami)' | gnome-keyring-daemon -r -d --unlock &&
make test

build-macos:
Expand Down

0 comments on commit 9526ef0

Please sign in to comment.