ci/alpine: switch to container to not rely on overloaded alpine gitlab
Browse files at this commit0b1a6c76ec715262ee8e0c6b1c3fcd1f50c811b0Parent: 485e6671 changed file +6 -8
- .github/workflows/ci.yml +6 -8
.github/workflows/ci.ymlmodified+6 -8
| @@ -11,7 +11,7 @@ env: | |||
| 11 | RUN_SLOW_TESTS: 1 | 11 | RUN_SLOW_TESTS: 1 |
| 12 | 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 | 12 | 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 |
| 13 | 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 | 13 | 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 |
| 14 | - DEPS_APK: cargo clang-libclang eudev-dev glib-dev libdisplay-info-dev libinput-dev libseat-dev libxkbcommon-dev mesa-dev pango-dev pipewire-dev | 14 | + 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 |
| 15 | 15 | ||
| 16 | jobs: | 16 | jobs: |
| 17 | build: | 17 | build: |
| @@ -76,21 +76,19 @@ jobs: | |||
| 76 | fail-fast: false | 76 | fail-fast: false |
| 77 | 77 | ||
| 78 | name: alpine musl | 78 | name: alpine musl |
| 79 | - runs-on: ubuntu-latest | 79 | + runs-on: ubuntu-24.04 |
| 80 | + container: alpine:3 | ||
| 80 | steps: | 81 | steps: |
| 81 | - - uses: jirutka/setup-alpine@v1 | ||
| 82 | - with: | ||
| 83 | - branch: v3.22 | ||
| 84 | - packages: ${{ env.DEPS_APK }} | ||
| 85 | - | ||
| 86 | - uses: actions/checkout@v4 | 82 | - uses: actions/checkout@v4 |
| 87 | with: | 83 | with: |
| 88 | show-progress: false | 84 | show-progress: false |
| 89 | 85 | ||
| 86 | + - name: Install Deps | ||
| 87 | + run: apk add --no-cache ${{ env.DEPS_APK }} | ||
| 88 | + | ||
| 90 | - uses: Swatinem/rust-cache@v2 | 89 | - uses: Swatinem/rust-cache@v2 |
| 91 | 90 | ||
| 92 | - name: Build | 91 | - name: Build |
| 93 | - shell: alpine.sh {0} | ||
| 94 | run: cargo build --no-default-features --features dbus,xdp-gnome-screencast | 92 | run: cargo build --no-default-features --features dbus,xdp-gnome-screencast |
| 95 | 93 | ||
| 96 | # Job that runs randomized tests for a longer period of time. | 94 | # Job that runs randomized tests for a longer period of time. |