Skip to content

Commit f464d29

Browse files
committed
build: move libnvme github workflows to top dir
Move the existing libnvme github workflows to the top dir and update them accordingly. It is not clear how the release is suppose to work but let's leave this for later. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 8f45360 commit f464d29

11 files changed

Lines changed: 22 additions & 94 deletions
Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: build
2+
name: libnvme build
33

44
on:
55
push:
@@ -21,13 +21,15 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v5
2323
- name: build
24+
working-directory: libnvme
2425
run: |
2526
scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
2627
- uses: actions/upload-artifact@v5
2728
name: upload logs
29+
working-directory: libnvme
2830
if: failure()
2931
with:
30-
name: logs files
32+
name: libnvme logs files
3133
path: |
3234
.build-ci/meson-logs/*.txt
3335
@@ -51,6 +53,7 @@ jobs:
5153
password: ${{ secrets.GITHUB_TOKEN }}
5254
- name: compile and run unit tests
5355
uses: mosteo-actions/docker-run@v2
56+
working-directory: libnvme
5457
with:
5558
image: ghcr.io/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest
5659
guest-dir: /build
@@ -61,9 +64,10 @@ jobs:
6164
pull-params: "--platform linux/amd64"
6265
- uses: actions/upload-artifact@v5
6366
name: upload logs
67+
working-directory: libnvme
6468
if: failure()
6569
with:
66-
name: log files
70+
name: libnvme log files
6771
path: |
6872
.build-ci/meson-logs/*.txt
6973
@@ -74,14 +78,16 @@ jobs:
7478
image: ghcr.io/linux-nvme/debian:latest
7579
steps:
7680
- uses: actions/checkout@v5
81+
working-directory: libnvme
7782
- name: build
7883
run: |
7984
scripts/build.sh -b release -c gcc libdbus
8085
- uses: actions/upload-artifact@v5
8186
name: upload logs
87+
working-directory: libnvme
8288
if: failure()
8389
with:
84-
name: log files
90+
name: libnvme log files
8591
path: |
8692
.build-ci/meson-logs/*.txt
8793
@@ -94,12 +100,14 @@ jobs:
94100
steps:
95101
- uses: actions/checkout@v5
96102
- name: build
103+
working-directory: libnvme
97104
run: |
98105
scripts/build.sh -b release -c gcc fallback
99106
- uses: actions/upload-artifact@v5
107+
working-directory: libnvme
100108
if: failure()
101109
with:
102-
name: log files
110+
name: libnvme log files
103111
path: |
104112
.build-ci/meson-logs/*.txt
105113
@@ -111,5 +119,6 @@ jobs:
111119
steps:
112120
- uses: actions/checkout@v5
113121
- name: build
122+
working-directory: libnvme
114123
run: |
115124
scripts/build.sh -m muon

libnvme/.github/workflows/cleanup-python.yml renamed to .github/workflows/libnvme-cleanup-python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run: pip install pypi-cleanup
2222

2323
- name: Run pypi-cleanup on TestPyPI
24+
working-directory: libnvme
2425
env:
2526
PYPI_USERNAME: __token__
2627
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: coverage
2+
name: libnvme coverage
33

44
on:
55
push:
@@ -16,9 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v5
1818
- name: build
19+
working-directory: libnvme
1920
run: |
20-
scripts/build.sh coverage
21+
libnvme/scripts/build.sh coverage
2122
- uses: codecov/codecov-action@v5
23+
working-directory: libnvme
2224
with:
2325
token: ${{ secrets.CODECOV_TOKEN }}
2426
fail_ci_if_error: true
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: docs
2+
name: libnvme docs
33

44
on:
55
push:
@@ -18,5 +18,6 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v5
2020
- name: build
21+
working-directory: libnvme
2122
run: |
2223
scripts/build.sh docs
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: release
2+
name: libnvme release
33

44
on:
55
push:

libnvme/.github/cross/ubuntu-cross-armhf.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

libnvme/.github/cross/ubuntu-cross-ppc64le.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

libnvme/.github/cross/ubuntu-cross-s390x.txt

Lines changed: 0 additions & 21 deletions
This file was deleted.

libnvme/.github/dependabot.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)