Skip to content

Commit 1c7ec53

Browse files
committed
build: add Fedora and Tubmleweed to the build matrix
Extend the build matrix to include Fedora and Tumbleweed for the main build (nvme-cli). Since the main build also includes libnvme, build libnvme standalone only on Debian with GCC. This is to catch configuration errors in Meson, and there is no additional information gained from the main build. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 2df9ac3 commit 1c7ec53

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17+
distro: [debian, fedora, tumbleweed]
1718
compiler: [gcc, clang]
1819
buildtype: [debug, release]
1920
container:
20-
image: ghcr.io/linux-nvme/debian:latest
21+
image: ghcr.io/linux-nvme/${{ matrix.distro }}:latest
2122
steps:
2223
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2324
- name: Mark repo as safe for git
@@ -37,10 +38,11 @@ jobs:
3738
runs-on: ubuntu-latest
3839
strategy:
3940
matrix:
40-
compiler: [gcc, clang]
41-
buildtype: [debug, release]
41+
distro: [debian]
42+
compiler: [gcc]
43+
buildtype: [release]
4244
container:
43-
image: ghcr.io/linux-nvme/debian:latest
45+
image: ghcr.io/linux-nvme/${{ matrix.distro }}:latest
4446
steps:
4547
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4648
- name: Mark repo as safe for git

0 commit comments

Comments
 (0)