Skip to content

Commit

Permalink
build: use linux-nvme/ci-containers
Browse files Browse the repository at this point in the history
Use the pre build containers from linux-nvme/ci-containers.

Signed-off-by: Daniel Wagner <[email protected]>
  • Loading branch information
igaw committed Oct 1, 2024
1 parent e34d3b6 commit 2d549ed
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
compiler: [gcc, clang]
buildtype: [debug, release]
container:
image: ghcr.io/igaw/linux-nvme/debian.python:latest
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand All @@ -43,10 +43,16 @@ jobs:
- uses: actions/checkout@v4
- name: enable foreign arch
uses: dbhi/qus/action@main
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: compile and run unit tests
uses: mosteo-actions/docker-run@v2
with:
image: ghcr.io/igaw/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest
image: ghcr.io/linux-nvme/ubuntu-cross-${{ matrix.arch }}:latest
guest-dir: /build
host-dir: ${{ github.workspace }}
command: |
Expand All @@ -65,7 +71,7 @@ jobs:
name: libdbus
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand All @@ -83,7 +89,7 @@ jobs:
name: fallback shared libraries
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v4
Expand All @@ -101,7 +107,7 @@ jobs:
name: muon minimal static
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: code coverage
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian.python:latest
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: build documentation
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian:latest
image: ghcr.io/linux-nvme/debian:latest
steps:
- uses: actions/checkout@v4
- name: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
container:
image: ghcr.io/igaw/linux-nvme/debian.python:latest
image: ghcr.io/linux-nvme/debian.python:latest
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 2d549ed

Please sign in to comment.