summaryrefslogtreecommitdiffstats
path: root/.github/workflows/meson-test.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:21:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-04 09:21:37 +0000
commitd37288d11c6957393a26032d657b5568e964d82a (patch)
tree8730d31b391a62d20ef49fcf2aa5f4c1d2cf4b48 /.github/workflows/meson-test.yml
parentAdding upstream version 2.3~rc4. (diff)
downloadnvme-stas-d37288d11c6957393a26032d657b5568e964d82a.tar.xz
nvme-stas-d37288d11c6957393a26032d657b5568e964d82a.zip
Adding upstream version 2.3~rc5.upstream/2.3_rc5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/meson-test.yml')
-rw-r--r--.github/workflows/meson-test.yml26
1 files changed, 5 insertions, 21 deletions
diff --git a/.github/workflows/meson-test.yml b/.github/workflows/meson-test.yml
index 24c6e57..eff6df1 100644
--- a/.github/workflows/meson-test.yml
+++ b/.github/workflows/meson-test.yml
@@ -17,36 +17,20 @@ jobs:
- name: "INSTALL: Overall dependencies"
run: |
- sudo apt-mark hold grub-efi-amd64-signed # Workaround for upstream issue
- sudo apt-get update --yes --quiet
- sudo apt-get upgrade --yes --quiet
sudo apt-get install --yes --quiet python3-pip cmake iproute2
sudo python3 -m pip install --upgrade pip
sudo python3 -m pip install --upgrade wheel meson ninja
- name: "INSTALL: nvme-stas dependencies"
run: |
- sudo apt-get install --yes --quiet docbook-xml
- sudo apt-get install --yes --quiet docbook-xsl
- sudo apt-get install --yes --quiet xsltproc
- sudo apt-get install --yes --quiet libglib2.0-dev
- sudo apt-get install --yes --quiet libgirepository1.0-dev
- sudo apt-get install --yes --quiet libsystemd-dev
- sudo apt-get install --yes --quiet python3-systemd
- sudo apt-get install --yes --quiet python3-pyudev
- sudo apt-get install --yes --quiet python3-lxml
+ sudo apt-get install --yes --quiet docbook-xml docbook-xsl xsltproc libglib2.0-dev libgirepository1.0-dev libsystemd-dev
+ sudo apt-get install --yes --quiet python3-systemd python3-pyudev python3-lxml
python3 -m pip install --upgrade dasbus pylint pyflakes PyGObject
python3 -m pip install --upgrade vermin pyfakefs importlib-resources
- name: "INSTALL: libnvme dependencies"
run: |
- sudo apt-get install --yes --quiet swig
- sudo apt-get install --yes --quiet libjson-c-dev
-
- - name: "SETUP: [nvme-stas, libnvme]"
- run: |
- meson subprojects download
- meson setup --buildtype=release --sysconfdir=/etc --prefix=/usr -Dman=true -Dhtml=true -Dlibnvme:python=enabled -Dlibnvme:libdbus=disabled -Dlibnvme:openssl=disabled -Dlibnvme:json-c=disabled -Dlibnvme:keyutils=disabled .build
+ sudo apt-get install --yes --quiet swig libjson-c-dev
- name: "CONFIG: PYTHONPATH"
run: |
@@ -57,7 +41,7 @@ jobs:
with:
action: test
directory: .build
- setup-options: --buildtype=release --sysconfdir=/etc --prefix=/usr -Dman=true -Dhtml=true -Dlibnvme:python=enabled -Dlibnvme:libdbus=disabled -Dlibnvme:openssl=disabled -Dlibnvme:json-c=disabled -Dlibnvme:keyutils=disabled
+ setup-options: --buildtype=release --sysconfdir=/etc --prefix=/usr -Dman=true -Dhtml=true -Dlibnvme:buildtype=release -Dlibnvme:sysconfdir=/etc -Dlibnvme:prefix=/usr -Dlibnvme:python=enabled -Dlibnvme:libdbus=disabled -Dlibnvme:openssl=disabled -Dlibnvme:json-c=disabled -Dlibnvme:keyutils=disabled
options: --print-errorlogs --suite nvme-stas
# Preserve meson's log file on failure
@@ -77,4 +61,4 @@ jobs:
- uses: codecov/codecov-action@v3
with:
- fail_ci_if_error: false \ No newline at end of file
+ fail_ci_if_error: false