Skip to content

Fix CI problems #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 23, 2025
Merged
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
23 changes: 14 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,31 @@ jobs:
strategy:
fail-fast: false
matrix:
ARCH: [x86_64, i686, aarch64, armhf]
include:
- ARCH: x86_64
RUNS_ON: ubuntu-24.04
- ARCH: i686
RUNS_ON: ubuntu-24.04
- ARCH: aarch64
RUNS_ON: ubuntu-24.04-arm
- ARCH: armhf
RUNS_ON: ubuntu-24.04-arm

name: AppImage ${{ matrix.ARCH }}
runs-on: ubuntu-20.04
runs-on: ${{ matrix.RUNS_ON }}
env:
ARCH: ${{ matrix.ARCH }}
DIST: bionic
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up QEMU integration for Docker
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

- name: Build AppImage in Docker
run: bash -ex ci/build-in-docker.sh

- name: Archive artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: AppImage ${{ matrix.ARCH }}
path: zsync*.AppImage*
Expand All @@ -35,10 +40,10 @@ jobs:
name: Create release and upload artifacts
needs:
- appimage
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
- name: Inspect directory after downloading artifacts
run: ls -alFR
- name: Create release and upload artifacts
Expand Down