Import upstream version 2.0.22+git20221214.1.dd90d51
Debian Janitor
1 year, 4 months ago
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 | |
doc
|
1 | |
gpgme_n.*
|
2 | |
mkmf.log
|
3 | |
Makefile
|
4 | |
coverage
|
5 | |
Gemfile.lock
|
6 | |
/tmp/*
|
7 | |
/ports/*
|
0 | 0 |
= GPGME
|
1 | 1 |
|
2 | 2 |
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.
|
5 | 5 |
|
6 | 6 |
{<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]
|
7 | 7 |
{<img src="https://coveralls.io/repos/ueno/ruby-gpgme/badge.png" alt="Coverage Status" />}[https://coveralls.io/r/ueno/ruby-gpgme]
|
36 | 36 |
end
|
37 | 37 |
|
38 | 38 |
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")
|
41 | 47 |
exit(1)
|
42 | 48 |
end
|
43 | |
|
44 | |
$CFLAGS += ' ' << `pkg-config --cflags gpgme`.chomp
|
45 | |
$libs += ' ' << `pkg-config --libs gpgme`.chomp
|
46 | 49 |
else
|
47 | 50 |
message <<-'EOS'
|
48 | 51 |
************************************************************************
|