Skip to content

Commit

Permalink
once more
Browse files Browse the repository at this point in the history
  • Loading branch information
hrantzsch committed May 21, 2024
1 parent bc4b1fb commit 460a2f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 32 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ name: Check Format

on:
push:
branches: [ master ]
branches:
- master
pull_request:
branches: [ master ]
branches:
- master

jobs:
check_format:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run clang-format
run: clang-format --dry-run --Werror include/keychain/*.h src/*.cpp
29 changes: 1 addition & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,8 @@ jobs:
- name: Build and run tests
run: cmake --build . --target test --config ${{ matrix.config }}

# unix-test:
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-11, macos-12, macos-13, macos-14]
# steps:
# - uses: actions/checkout@v4
#
# - name: Install dependencies
# run: |
# if [ ${{ runner.os }} == 'Linux' ]; then
# sudo apt-get install dbus-x11 dbus gnome-keyring libsecret-1-dev gcovr
# elif [ ${{ runner.os }} == 'macOS' ]; then
# brew install gcovr
# fi
#
# - name: Run cmake
# run: cmake . -DBUILD_TESTS=yes -DCODE_COVERAGE=no -DCMAKE_BUILD_TYPE=Release
#
# - name: Build and run tests
# run: |
# if [ ${{ runner.os }} == 'Linux' ]; then
# eval $(DISPLAY=:99.0 dbus-launch --sh-syntax)
# echo "somepassword" | gnome-keyring-daemon -r -d --unlock
# fi
# cmake --build . --target test

unix-test-and-coverage:
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os.image }}
strategy:
matrix:
os:
Expand Down

0 comments on commit 460a2f5

Please sign in to comment.