summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 08:38:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 08:38:36 +0000
commit3c0f1ed2ea093dd0d3e8ba70f3c9963e66321f87 (patch)
tree2020852fabf5e530c687d41e36ddc5c453b0c9ed /.github/workflows
parentAdding upstream version 2.9.1. (diff)
downloadnvme-cli-3c0f1ed2ea093dd0d3e8ba70f3c9963e66321f87.tar.xz
nvme-cli-3c0f1ed2ea093dd0d3e8ba70f3c9963e66321f87.zip
Adding upstream version 2.10.upstream/2.10
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/appimage.yml14
-rw-r--r--.github/workflows/build.yml14
-rw-r--r--.github/workflows/docs.yaml26
3 files changed, 49 insertions, 5 deletions
diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml
index 53fed3a..c7b92f7 100644
--- a/.github/workflows/appimage.yml
+++ b/.github/workflows/appimage.yml
@@ -17,6 +17,13 @@ jobs:
image: ghcr.io/igaw/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: fixup permissions
+ env:
+ GITHUB_WORKSPACE: ${{ github.workspace }}
+ run: |
+ git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- name: build
run: |
scripts/build.sh appimage
@@ -36,11 +43,10 @@ jobs:
needs: build-appimage
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'linux-nvme/nvme-cli' }}
steps:
- - name: Download artifact
- uses: dawidd6/action-download-artifact@v3
+ - uses: actions/download-artifact@v4
with:
- workflow: ${{ github.event.workflow_run.workflow_id }}
- workflow_conclusion: success
+ name: AppImage
+ path: AppImage
- name: FTP Deployer
uses: sand4rt/ftp-deployer@v1.8
with:
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0b12517..66b3811 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -44,7 +44,7 @@ jobs:
- name: enable foreign arch
uses: dbhi/qus/action@main
- name: compile and run unit tests
- uses: mosteo-actions/docker-run@v1
+ uses: mosteo-actions/docker-run@v2
with:
image: ghcr.io/igaw/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest
guest-dir: /build
@@ -89,6 +89,7 @@ jobs:
- name: build
run: |
scripts/build.sh -m muon
+
build-make-static:
name: make static
runs-on: ubuntu-latest
@@ -99,3 +100,14 @@ jobs:
- name: build
run: |
make static
+
+ build-distro:
+ name: build libnvme and nvme-cli separately
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/igaw/linux-nvme/debian:latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: build
+ run: |
+ scripts/build.sh distro
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml
new file mode 100644
index 0000000..89fbd67
--- /dev/null
+++ b/.github/workflows/docs.yaml
@@ -0,0 +1,26 @@
+---
+name: docs
+
+on:
+ push:
+ branches: [master]
+ paths:
+ - Documentation/**
+ pull_request:
+ branches: [master]
+ paths:
+ - Documentation/**
+
+ workflow_dispatch:
+
+jobs:
+ build-docs:
+ name: build documentation
+ runs-on: ubuntu-latest
+ container:
+ image: ghcr.io/igaw/linux-nvme/debian:latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: build
+ run: |
+ scripts/build.sh docs