aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-07-30 06:42:58 +0900
committerKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-07-30 08:20:41 +0900
commit686304f1581c4bbc49e8a87408e9e38d4b72445a (patch)
tree00e7a53997ec79b4397edf9c40cc07a085a8a903 /.github
parentdf1ed6bb4ec3e72c20a7082cc168a45ae67704ba (diff)
downloadportable-686304f1581c4bbc49e8a87408e9e38d4b72445a.tar.gz
portable-686304f1581c4bbc49e8a87408e9e38d4b72445a.tar.bz2
portable-686304f1581c4bbc49e8a87408e9e38d4b72445a.zip
ci: install the IO::Socket::SSL test dependency
Install IO::Socket::SSL to enable the ssl_verify regress test.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/fedora-rawhide.yml3
-rw-r--r--.github/workflows/freebsd.yml6
-rw-r--r--.github/workflows/linux.yml12
-rw-r--r--.github/workflows/macos.yml7
-rw-r--r--.github/workflows/solaris.yml2
5 files changed, 26 insertions, 4 deletions
diff --git a/.github/workflows/fedora-rawhide.yml b/.github/workflows/fedora-rawhide.yml
index 1283c4a..078bc02 100644
--- a/.github/workflows/fedora-rawhide.yml
+++ b/.github/workflows/fedora-rawhide.yml
@@ -26,7 +26,8 @@ jobs:
26 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 26 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
27 - name: Install dependencies 27 - name: Install dependencies
28 run: | 28 run: |
29 dnf -y install git make clang cmake ninja-build autoconf automake libtool diffutils patch gawk 29 dnf -y install git make clang cmake ninja-build autoconf automake libtool diffutils patch gawk perl-IO-Socket-SSL
30 perl -MIO::Socket::SSL::Utils -e 1
30 - name: Pull upstream source 31 - name: Pull upstream source
31 run: | 32 run: |
32 ./update.sh 33 ./update.sh
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index 64de243..4e38efd 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -36,8 +36,9 @@ jobs:
36 release: "${{ env.FREEBSD_VERSION }}" 36 release: "${{ env.FREEBSD_VERSION }}"
37 copyback: false 37 copyback: false
38 prepare: | 38 prepare: |
39 pkg install -y autoconf automake libtool 39 pkg install -y autoconf automake libtool p5-IO-Socket-SSL
40 run: | 40 run: |
41 perl -MIO::Socket::SSL::Utils -e 1
41 ./configure 42 ./configure
42 make -j2 check || (cat tests/test-suite.log && exit 1) 43 make -j2 check || (cat tests/test-suite.log && exit 1)
43 44
@@ -63,8 +64,9 @@ jobs:
63 release: "${{ env.FREEBSD_VERSION }}" 64 release: "${{ env.FREEBSD_VERSION }}"
64 copyback: false 65 copyback: false
65 prepare: | 66 prepare: |
66 pkg install -y cmake ninja perl5 67 pkg install -y cmake ninja p5-IO-Socket-SSL
67 run: | 68 run: |
69 perl -MIO::Socket::SSL::Utils -e 1
68 export CTEST_OUTPUT_ON_FAILURE=1 70 export CTEST_OUTPUT_ON_FAILURE=1
69 cmake -G Ninja -B build 71 cmake -G Ninja -B build
70 ninja -C build 72 ninja -C build
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index a44df9d..197e894 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -46,6 +46,12 @@ jobs:
46 - name: "Checkout repository" 46 - name: "Checkout repository"
47 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 47 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
48 48
49 - name: "Install test dependencies"
50 run: |
51 sudo apt-get update
52 sudo apt-get install -y libio-socket-ssl-perl
53 perl -MIO::Socket::SSL::Utils -e 1
54
49 - name: "Run tests" 55 - name: "Run tests"
50 run: ./scripts/test || (status=$?; cat tests/test-suite.log; exit $status) 56 run: ./scripts/test || (status=$?; cat tests/test-suite.log; exit $status)
51 env: 57 env:
@@ -68,6 +74,12 @@ jobs:
68 - name: "Checkout repository" 74 - name: "Checkout repository"
69 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 75 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
70 76
77 - name: "Install test dependencies"
78 run: |
79 sudo apt-get update
80 sudo apt-get install -y libio-socket-ssl-perl
81 perl -MIO::Socket::SSL::Utils -e 1
82
71 - name: "Run tests" 83 - name: "Run tests"
72 run: ./scripts/test 84 run: ./scripts/test
73 env: 85 env:
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 9b9d5e4..c619b17 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -25,7 +25,12 @@ jobs:
25 arch: ["arm64", "x86_64"] 25 arch: ["arm64", "x86_64"]
26 steps: 26 steps:
27 - name: "Install required packages" 27 - name: "Install required packages"
28 run: brew install automake libtool 28 run: |
29 brew install automake libtool perl cpanminus
30 PERL="$(brew --prefix perl)/bin/perl"
31 "$PERL" "$(command -v cpanm)" --notest IO::Socket::SSL
32 echo "$(brew --prefix perl)/bin" >> "$GITHUB_PATH"
33 "$PERL" -MIO::Socket::SSL::Utils -e 1
29 34
30 - name: "Checkout repository" 35 - name: "Checkout repository"
31 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 36 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml
index 24c4056..0e50f5f 100644
--- a/.github/workflows/solaris.yml
+++ b/.github/workflows/solaris.yml
@@ -32,6 +32,8 @@ jobs:
32 with: 32 with:
33 prepare: | 33 prepare: |
34 pkg install gcc make 34 pkg install gcc make
35 PERL_MM_USE_DEFAULT=1 cpan -T IO::Socket::SSL
35 run: | 36 run: |
37 perl -MIO::Socket::SSL::Utils -e 1
36 MAKE=gmake ./configure 38 MAKE=gmake ./configure
37 gmake -j2 check || (cat tests/test-suite.log && exit 1) 39 gmake -j2 check || (cat tests/test-suite.log && exit 1)