Skip to content

Commit

Permalink
fix: CI issues caused by package installation tests
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier committed Mar 20, 2024
1 parent 7a6ec82 commit d14433c
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,47 +79,20 @@ jobs:
-v ${{ github.workspace }}:/workspace
${{ matrix.image }}
- name: Test debian package
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
debian:bookworm-slim
sh -c "apt update && apt install -y ./airgorah_${{ matrix.arch }}.deb"
- name: Save debian artifact
uses: actions/upload-artifact@v4
with:
name: airgorah_${{ matrix.arch }}.deb
path: ./airgorah_${{ matrix.arch }}.deb
if-no-files-found: error

- name: Test redhat package
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
fedora:38
sh -c "dnf update -y && dnf install -y ./airgorah_${{ matrix.arch }}.rpm"
- name: Save redhat artifact
uses: actions/upload-artifact@v4
with:
name: airgorah_${{ matrix.arch }}.rpm
path: ./airgorah_${{ matrix.arch }}.rpm
if-no-files-found: error

- name: Test archlinux package
run: >
docker run --rm
--platform linux/${{ matrix.platform }}
-v ${{ github.workspace }}:/workspace
-w /workspace
manjarolinux/base:latest
sh -c "pacman -Syu --noconfirm && pacman -U --noconfirm ./airgorah_${{ matrix.arch }}.pkg.tar.zst"
- name: Save archlinux artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit d14433c

Please sign in to comment.