Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .checkpatch.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
# This isn't actually a Linux kernel tree
--no-tree

--max-line-length=100
--max-line-length=80

--ignore EMAIL_SUBJECT

# FILE_PATH_CHANGES reports this kind of message:
# "added, moved or deleted file(s), does MAINTAINERS need updating?"
--ignore FILE_PATH_CHANGES


# Commit messages might contain a Gerrit Change-Id.
--ignore GERRIT_CHANGE_ID

Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
Expand Down Expand Up @@ -56,6 +58,7 @@ jobs:
guest-dir: /build
host-dir: ${{ github.workspace }}
command: |
git config --global --add safe.directory /build
scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross
params: "--platform linux/amd64"
pull-params: "--platform linux/amd64"
Expand All @@ -75,6 +78,8 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh -b release -c gcc fallback
Expand All @@ -92,6 +97,8 @@ jobs:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh -m muon
Expand All @@ -103,6 +110,8 @@ jobs:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
make static
Expand All @@ -114,6 +123,8 @@ jobs:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh distro
3 changes: 3 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v5

- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Install build tools
run: |
sudo apt-get update
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh docs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: build
name: libnvme build

on:
push:
Expand All @@ -20,14 +20,16 @@ jobs:
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
libnvme/scripts/build.sh -b ${{ matrix.buildtype }} -c ${{ matrix.compiler }} -x
- uses: actions/upload-artifact@v5
name: upload logs
if: failure()
with:
name: logs files
name: libnvme logs files
path: |
.build-ci/meson-logs/*.txt

Expand Down Expand Up @@ -56,14 +58,15 @@ jobs:
guest-dir: /build
host-dir: ${{ github.workspace }}
command: |
scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross
git config --global --add safe.directory /build
libnvme/scripts/build.sh -b release -c gcc -t ${{ matrix.arch }} cross
params: "--platform linux/amd64"
pull-params: "--platform linux/amd64"
- uses: actions/upload-artifact@v5
name: upload logs
if: failure()
with:
name: log files
name: libnvme log files
path: |
.build-ci/meson-logs/*.txt

Expand All @@ -74,14 +77,16 @@ jobs:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh -b release -c gcc libdbus
libnvme/scripts/build.sh -b release -c gcc libdbus
- uses: actions/upload-artifact@v5
name: upload logs
if: failure()
with:
name: log files
name: libnvme log files
path: |
.build-ci/meson-logs/*.txt

Expand All @@ -93,13 +98,15 @@ jobs:
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh -b release -c gcc fallback
libnvme/scripts/build.sh -b release -c gcc fallback
- uses: actions/upload-artifact@v5
if: failure()
with:
name: log files
name: libnvme log files
path: |
.build-ci/meson-logs/*.txt

Expand All @@ -110,6 +117,8 @@ jobs:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh -m muon
libnvme/scripts/build.sh -m muon
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
PYPI_USERNAME: __token__
PYPI_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
cd libnvme
pypi-cleanup \
--username "$PYPI_USERNAME" \
--password "$PYPI_PASSWORD" \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: coverage
name: libnvme coverage

on:
push:
Expand All @@ -15,9 +15,11 @@ jobs:
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh coverage
libnvme/scripts/build.sh coverage
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: docs
name: libnvme docs

on:
push:
Expand All @@ -17,6 +17,8 @@ jobs:
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: build
run: |
scripts/build.sh docs
libnvme/scripts/build.sh docs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: release
name: libnvme release

on:
push:
Expand All @@ -15,6 +15,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v5
- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
with:
fetch-depth: 0

- name: Mark repo as safe for git
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: build
id: build
run: |
Expand Down
27 changes: 0 additions & 27 deletions libnvme/.checkpatch.conf

This file was deleted.

21 changes: 0 additions & 21 deletions libnvme/.github/cross/ubuntu-cross-armhf.txt

This file was deleted.

21 changes: 0 additions & 21 deletions libnvme/.github/cross/ubuntu-cross-ppc64le.txt

This file was deleted.

21 changes: 0 additions & 21 deletions libnvme/.github/cross/ubuntu-cross-s390x.txt

This file was deleted.

7 changes: 0 additions & 7 deletions libnvme/.github/dependabot.yml

This file was deleted.

15 changes: 0 additions & 15 deletions libnvme/.github/workflows/checkpatch.yml

This file was deleted.

19 changes: 0 additions & 19 deletions libnvme/.gitignore

This file was deleted.

Loading