aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimward <zimward@zimward.moe>2025-07-18 20:15:57 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2025-07-18 12:10:47 -0700
commit0b1a6c76ec715262ee8e0c6b1c3fcd1f50c811b0 (patch)
tree5e901ca332b633dfa2e03cf0facb12e7b15a7f24
parent485e667fec27aebc8be8dacfc35c702f276d4c47 (diff)
downloadniri-0b1a6c76ec715262ee8e0c6b1c3fcd1f50c811b0.tar.gz
niri-0b1a6c76ec715262ee8e0c6b1c3fcd1f50c811b0.tar.bz2
niri-0b1a6c76ec715262ee8e0c6b1c3fcd1f50c811b0.zip
ci/alpine: switch to container to not rely on overloaded alpine gitlab
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8878258b..8ec56635 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,7 +11,7 @@ env:
RUN_SLOW_TESTS: 1
DEPS_APT: curl gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev libdisplay-info-dev
DEPS_DNF: cargo gcc clang libudev-devel libgbm-devel libxkbcommon-devel wayland-devel libinput-devel dbus-devel systemd-devel libseat-devel pipewire-devel pango-devel cairo-gobject-devel libdisplay-info-devel
- DEPS_APK: cargo clang-libclang eudev-dev glib-dev libdisplay-info-dev libinput-dev libseat-dev libxkbcommon-dev mesa-dev pango-dev pipewire-dev
+ DEPS_APK: cargo clang-libclang eudev-dev glib-dev libdisplay-info-dev libinput-dev libseat-dev libxkbcommon-dev mesa-dev pango-dev pipewire-dev tar
jobs:
build:
@@ -76,21 +76,19 @@ jobs:
fail-fast: false
name: alpine musl
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04
+ container: alpine:3
steps:
- - uses: jirutka/setup-alpine@v1
- with:
- branch: v3.22
- packages: ${{ env.DEPS_APK }}
-
- uses: actions/checkout@v4
with:
show-progress: false
+ - name: Install Deps
+ run: apk add --no-cache ${{ env.DEPS_APK }}
+
- uses: Swatinem/rust-cache@v2
- name: Build
- shell: alpine.sh {0}
run: cargo build --no-default-features --features dbus,xdp-gnome-screencast
# Job that runs randomized tests for a longer period of time.