From c7b719cc358f4f42e32a4072df259f202f7726d8 Mon Sep 17 00:00:00 2001 From: Elysia Date: Mon, 3 Jun 2024 12:56:26 +0000 Subject: [PATCH] add bookworm --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc692fc..838e2d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ defaults: shell: 'bash -Eeuo pipefail -x {0}' jobs: - build: + build-trixie: runs-on: ubuntu-latest container: docker.io/library/debian:trixie-slim name: Build @@ -35,7 +35,36 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: Lingmo Artifacts + name: Lingmo Artifacts trixie + path: BuildArtifacts + compression-level: 9 # maximum compression + + build-bookworm: + runs-on: ubuntu-latest + container: docker.io/library/debian:bookworm-slim + name: Build + steps: + - uses: actions/checkout@v4 + + - name: Update Lingmo repo + run: | + apt-get update -y && apt-get upgrade -y && apt install -y apt-transport-https ca-certificates + echo "deb [trusted=yes] https://packages-lingmo.simplelinux.cn.eu.org/polaris polaris main contrib non-free" >> /etc/apt/sources.list.d/lingmo-rolling.list + apt update + + - name: Update Apt and Install packages + run: | + apt-get update -y && apt-get upgrade -y + apt install -y powershell sudo equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ --no-install-recommends + + - name: Build Lingmo + run: | + git config --global http.sslVerify false + pwsh ./build.ps1 + + - uses: actions/upload-artifact@v4 + with: + name: Lingmo Artifacts bookworm path: BuildArtifacts compression-level: 9 # maximum compression