Skip to content

Commit 734308a

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 734308a

12 files changed

Lines changed: 26 additions & 111 deletions
Lines changed: 10 additions & 10 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,12 +22,12 @@ jobs:
2222
- uses: actions/checkout@v5
2323
- name: build
2424
run: |
25-
scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
25+
libnvme/scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
2626
- uses: actions/upload-artifact@v5
2727
name: upload logs
2828
if: failure()
2929
with:
30-
name: logs files
30+
name: libnvme logs files
3131
path: |
3232
.build-ci/meson-logs/*.txt
3333
@@ -56,14 +56,14 @@ jobs:
5656
guest-dir: /build
5757
host-dir: ${{ github.workspace }}
5858
command: |
59-
scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross
59+
libnvme/scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross
6060
params: "--platform linux/amd64"
6161
pull-params: "--platform linux/amd64"
6262
- uses: actions/upload-artifact@v5
6363
name: upload logs
6464
if: failure()
6565
with:
66-
name: log files
66+
name: libnvme log files
6767
path: |
6868
.build-ci/meson-logs/*.txt
6969
@@ -76,12 +76,12 @@ jobs:
7676
- uses: actions/checkout@v5
7777
- name: build
7878
run: |
79-
scripts/build.sh -b release -c gcc libdbus
79+
libnvme/scripts/build.sh -b release -c gcc libdbus
8080
- uses: actions/upload-artifact@v5
8181
name: upload logs
8282
if: failure()
8383
with:
84-
name: log files
84+
name: libnvme log files
8585
path: |
8686
.build-ci/meson-logs/*.txt
8787
@@ -95,11 +95,11 @@ jobs:
9595
- uses: actions/checkout@v5
9696
- name: build
9797
run: |
98-
scripts/build.sh -b release -c gcc fallback
98+
libnvme/scripts/build.sh -b release -c gcc fallback
9999
- uses: actions/upload-artifact@v5
100100
if: failure()
101101
with:
102-
name: log files
102+
name: libnvme log files
103103
path: |
104104
.build-ci/meson-logs/*.txt
105105
@@ -112,4 +112,4 @@ jobs:
112112
- uses: actions/checkout@v5
113113
- name: build
114114
run: |
115-
scripts/build.sh -m muon
115+
libnvme/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: 2 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:
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v5
1818
- name: build
1919
run: |
20-
scripts/build.sh coverage
20+
libnvme/scripts/build.sh coverage
2121
- uses: codecov/codecov-action@v5
2222
with:
2323
token: ${{ secrets.CODECOV_TOKEN }}
Lines changed: 2 additions & 2 deletions
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,4 @@ jobs:
1919
- uses: actions/checkout@v5
2020
- name: build
2121
run: |
22-
scripts/build.sh docs
22+
libnvme/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)