Skip to content

Commit e107184

Browse files
committed
refresh distro for CI
1 parent d842fab commit e107184

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,45 @@ on:
55
- master
66
pull_request:
77
jobs:
8-
Linux_EL:
8+
Linux_EL9:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
1212
distro: ['rockylinux']
1313
el: [9]
14-
php: [0, '8.1', '8.2', 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3', 'remi-8.4']
14+
php: [0, '8.2', '8.3', 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3', 'remi-8.4']
15+
container:
16+
image: ${{ matrix.distro }}:${{ matrix.el }}
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
- name: Setup PHP module
21+
if: ${{ matrix.php }}
22+
run: |
23+
dnf install -y "https://rpms.remirepo.net/enterprise/remi-release-${{ matrix.el }}.rpm"
24+
dnf module enable -y "php:${{ matrix.php }}"
25+
- name: Install PHP
26+
run: |
27+
dnf install -y "php" "php-devel" "libxcrypt-devel"
28+
- name: Show PHP version
29+
run: php -v
30+
- name: Make php-xpass
31+
run: |
32+
phpize
33+
./configure
34+
make -j"$(nproc)"
35+
- name: Test php-xpass
36+
env:
37+
TEST_PHP_ARGS: '-q --show-diff'
38+
run: |
39+
make test
40+
Linux_EL10:
41+
runs-on: ubuntu-latest
42+
strategy:
43+
matrix:
44+
distro: ['rockylinux']
45+
el: [10]
46+
php: [0, 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3', 'remi-8.4']
1547
container:
1648
image: ${{ matrix.distro }}:${{ matrix.el }}
1749
steps:
@@ -41,7 +73,7 @@ jobs:
4173
runs-on: ubuntu-latest
4274
strategy:
4375
matrix:
44-
fedora: [40, 41]
76+
fedora: [41, 42]
4577
php: [0, 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3', 'remi-8.4']
4678
container:
4779
image: fedora:${{ matrix.fedora }}

0 commit comments

Comments
 (0)