Skip to content

Commit 7d2a264

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 8c099b7 commit 7d2a264

11 files changed

Lines changed: 21 additions & 97 deletions
Lines changed: 14 additions & 9 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:
@@ -22,14 +22,15 @@ jobs:
2222
- uses: actions/checkout@v5
2323
- name: build
2424
run: |
25+
cd libnvme
2526
scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
2627
- uses: actions/upload-artifact@v5
2728
name: upload logs
2829
if: failure()
2930
with:
30-
name: logs files
31+
name: libnvme logs files
3132
path: |
32-
.build-ci/meson-logs/*.txt
33+
libnvme/.build-ci/meson-logs/*.txt
3334
3435
cross:
3536
runs-on: ubuntu-latest
@@ -56,16 +57,17 @@ jobs:
5657
guest-dir: /build
5758
host-dir: ${{ github.workspace }}
5859
command: |
60+
cd libnvme
5961
scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross
6062
params: "--platform linux/amd64"
6163
pull-params: "--platform linux/amd64"
6264
- uses: actions/upload-artifact@v5
6365
name: upload logs
6466
if: failure()
6567
with:
66-
name: log files
68+
name: libnvme log files
6769
path: |
68-
.build-ci/meson-logs/*.txt
70+
libnvme/.build-ci/meson-logs/*.txt
6971
7072
libdbus:
7173
name: libdbus
@@ -76,14 +78,15 @@ jobs:
7678
- uses: actions/checkout@v5
7779
- name: build
7880
run: |
81+
cd libnvme
7982
scripts/build.sh -b release -c gcc libdbus
8083
- uses: actions/upload-artifact@v5
8184
name: upload logs
8285
if: failure()
8386
with:
84-
name: log files
87+
name: libnvme log files
8588
path: |
86-
.build-ci/meson-logs/*.txt
89+
libnvme/.build-ci/meson-logs/*.txt
8790
8891
fallback-shared-libraries:
8992
name: fallback shared libraries
@@ -95,13 +98,14 @@ jobs:
9598
- uses: actions/checkout@v5
9699
- name: build
97100
run: |
101+
cd libnvme
98102
scripts/build.sh -b release -c gcc fallback
99103
- uses: actions/upload-artifact@v5
100104
if: failure()
101105
with:
102-
name: log files
106+
name: libnvme log files
103107
path: |
104-
.build-ci/meson-logs/*.txt
108+
libnvme/.build-ci/meson-logs/*.txt
105109
106110
build-muon:
107111
name: muon minimal static
@@ -112,4 +116,5 @@ jobs:
112116
- uses: actions/checkout@v5
113117
- name: build
114118
run: |
119+
cd libnvme
115120
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
@@ -25,6 +25,7 @@ jobs:
2525
PYPI_USERNAME: __token__
2626
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
2727
run: |
28+
cd libnvme
2829
pypi-cleanup \
2930
--username "$PYPI_USERNAME" \
3031
--password "$PYPI_PASSWORD" \
Lines changed: 3 additions & 1 deletion
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:
@@ -17,8 +17,10 @@ jobs:
1717
- uses: actions/checkout@v5
1818
- name: build
1919
run: |
20+
cd libnvme
2021
scripts/build.sh coverage
2122
- uses: codecov/codecov-action@v5
23+
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:
@@ -19,4 +19,5 @@ jobs:
1919
- uses: actions/checkout@v5
2020
- name: build
2121
run: |
22+
cd libnvme
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)