mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-24 00:10:50 +01:00
Update to Ubuntu 22.04 and add cleanup to dockerfile
This commit is contained in:
parent
b5d7972003
commit
657a2c0a55
2 changed files with 36 additions and 29 deletions
53
.github/workflows/Dockerfile
vendored
53
.github/workflows/Dockerfile
vendored
|
|
@ -1,31 +1,38 @@
|
|||
ARG IMAGE
|
||||
FROM ${IMAGE}
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -y software-properties-common && \
|
||||
add-apt-repository -y ppa:ubuntu-support-team/meson
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
debhelper \
|
||||
devscripts \
|
||||
meson \
|
||||
pkg-config \
|
||||
libstdc++6 \
|
||||
libgbm-dev \
|
||||
libdrm-dev \
|
||||
libx11-6 \
|
||||
libx11-dev \
|
||||
libx11-xcb1 \
|
||||
libx11-xcb-dev \
|
||||
libxcb-dri2-0 \
|
||||
libxcb-dri2-0-dev \
|
||||
libxdamage1 \
|
||||
libxdamage-dev \
|
||||
libxext6 \
|
||||
libxext-dev \
|
||||
libxfixes3 \
|
||||
libxfixes-dev \
|
||||
libwayland-client0 \
|
||||
libwayland-dev && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
build-essential \
|
||||
debhelper \
|
||||
devscripts \
|
||||
meson \
|
||||
pkg-config \
|
||||
libstdc++6 \
|
||||
libgbm-dev \
|
||||
libdrm-dev \
|
||||
libx11-6 \
|
||||
libx11-dev \
|
||||
libx11-xcb1 \
|
||||
libx11-xcb-dev \
|
||||
libxcb-dri2-0 \
|
||||
libxcb-dri2-0-dev \
|
||||
libxdamage1 \
|
||||
libxdamage-dev \
|
||||
libxext6 \
|
||||
libxext-dev \
|
||||
libxfixes3 \
|
||||
libxfixes-dev \
|
||||
libwayland-client0 \
|
||||
libwayland-dev && \
|
||||
&& apt-get clean autoclean --yes \
|
||||
&& apt-get autoremove --yes \
|
||||
&& rm -rf /var/cache/apt/archives* /var/lib/apt/lists/*
|
||||
|
||||
COPY . /src/
|
||||
|
||||
WORKDIR /src/
|
||||
|
|
|
|||
12
.github/workflows/build_and_release.yml
vendored
12
.github/workflows/build_and_release.yml
vendored
|
|
@ -20,22 +20,22 @@ jobs:
|
|||
steps:
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
with:
|
||||
platforms: linux/arm64
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .github/workflows/
|
||||
tags: ${{ matrix.image }}:build
|
||||
build-args: IMAGE=${{ matrix.image }}:20.04
|
||||
build-args: IMAGE=${{ matrix.image }}:22.04
|
||||
cache-from: type=gha,scope=${{ matrix.image }}
|
||||
cache-to: type=gha,scope=${{ matrix.image }},mode=max
|
||||
load: true
|
||||
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
|
||||
- name: Get commit hash
|
||||
id: get_commit_hash
|
||||
uses: pr-mpt/actions-commit-hash@v2
|
||||
uses: prompt/actions-commit-hash@v3
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue