Codebase list ruby-gpgme / 18b8f43
Import upstream version 2.0.22+git20221214.1.dd90d51 Debian Janitor 1 year, 4 months ago
4 changed file(s) with 10 addition(s) and 46 deletion(s). Raw diff Collapse all Expand all
+0
-31
.github/workflows/test.yml less more
0 name: Matrix Testing
1
2 on:
3 push:
4 branches: [ master ]
5 pull_request:
6 branches: [ master ]
7
8 jobs:
9 test:
10 runs-on: ubuntu-latest
11
12 strategy:
13 fail-fast: false
14 matrix:
15 ruby: ['3.1', '3.0', '2.7']
16
17 steps:
18 - uses: actions/checkout@v3
19 - name: Set up Ruby ${{ matrix.ruby-version }}
20 uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
21 with:
22 ruby-version: ${{ matrix.ruby }}
23 - name: Install dependencies
24 run: bundle install
25 - name: Run tests
26 run: |
27 gpg --version
28 gpg2 --version
29 gpgconf --list-options gpg-agent
30 bundle exec rake TESTOPTS="-v"
+0
-8
.gitignore less more
0 doc
1 gpgme_n.*
2 mkmf.log
3 Makefile
4 coverage
5 Gemfile.lock
6 /tmp/*
7 /ports/*
00 = GPGME
11
22 This README is better viewed through the YARD formatted documentation:
3 http://rdoc.info/github/ueno/ruby-gpgme/frames for latest github
4 version, or http://rdoc.info/gems/gpgme for latest gem release.
3 https://www.rubydoc.info/github/ueno/ruby-gpgme for latest github version,
4 or https://www.rubydoc.info/gems/gpgme for latest gem release.
55
66 {<img src="https://github.com/ueno/ruby-gpgme/actions/workflows/test.yml/badge.svg" alt="Build Status" />}[https://github.com/ueno/ruby-gpgme/actions/workflows/test.yml]
77 {<img src="https://coveralls.io/repos/ueno/ruby-gpgme/badge.png" alt="Coverage Status" />}[https://coveralls.io/r/ueno/ruby-gpgme]
3636 end
3737
3838 if arg_config('--use-system-libraries', ENV['RUBY_GPGME_USE_SYSTEM_LIBRARIES'])
39 unless find_executable('pkg-config')
40 $stderr.puts("pkg-config not found")
39 if find_executable('pkg-config') && system('pkg-config gpgme --exists')
40 $CFLAGS += ' ' << `pkg-config --cflags gpgme`.chomp
41 $libs += ' ' << `pkg-config --libs gpgme`.chomp
42 elsif find_executable('gpgme-config')
43 $CFLAGS += ' ' << `gpgme-config --cflags`.chomp
44 $libs += ' ' << `gpgme-config --libs`.chomp
45 else
46 $stderr.puts("pkg-config with gpgme.pc and gpgme-config not found")
4147 exit(1)
4248 end
43
44 $CFLAGS += ' ' << `pkg-config --cflags gpgme`.chomp
45 $libs += ' ' << `pkg-config --libs gpgme`.chomp
4649 else
4750 message <<-'EOS'
4851 ************************************************************************