Reformat Tools #258
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub CI | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: "59 15 * * *" | ||
workflow_dispatch: | ||
defaults: | ||
run: | ||
shell: 'bash -Eeuo pipefail -x {0}' | ||
jobs: | ||
build-trixie: | ||
strategy: | ||
matrix: | ||
devbuild: ["$false", "$true"] | ||
runs-on: ubuntu-latest | ||
container: docker.io/library/debian:trixie-slim | ||
name: Build Trixie | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Update Lingmo repo | ||
run: | | ||
apt-get update -y && apt-get upgrade -y && apt-get install -y apt-transport-https ca-certificates | ||
echo "deb [trusted=yes] https://download.opensuse.org/repositories/home:/elysia:/LingmoOS/Debian_Testing/ ./" >> /etc/apt/sources.list.d/lingmo-rolling.list | ||
apt-get update | ||
- name: Update Apt and Install packages | ||
run: | | ||
apt-get update -y && apt-get upgrade -y | ||
apt-get install -y sudo equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ --no-install-recommends | ||
- name: Install PowerShell | ||
run: | | ||
curl -L https://github.com/PowerShell/PowerShell/releases/download/v7.4.3/powershell_7.4.3-1.deb_amd64.deb -o powershell.deb | ||
apt-get install -y ./powershell.deb | ||
rm powershell.deb | ||
- name: Build Lingmo | ||
run: | | ||
git config --global http.sslVerify false | ||
git config --global advice.detachedHead false | ||
chmod +x ./build.ps1 | ||
pwsh -c "./build.ps1 -BuildFromGit ${{ matrix.devbuild }}" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
if: ${{ matrix.devbuild == "$false" }} | ||
Check failure on line 53 in .github/workflows/ci.yml GitHub Actions / GitHub CIInvalid workflow file
|
||
name: Lingmo Artifacts Latest Tag Build | ||
path: BuildArtifacts | ||
compression-level: 9 # maximum compression | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
if: ${{ matrix.devbuild == "$true" }} | ||
name: Lingmo Artifacts Nightly Build | ||
path: BuildArtifacts | ||
compression-level: 9 # maximum compression |