Skip to content

Reformat Tools

Reformat Tools #263

Workflow file for this run

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: ["enabled", "disabled"]
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 Nightly
if: ${{ matrix.devbuild == "enabled" }}

Check failure on line 45 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / GitHub CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 45, Col: 13): Unexpected symbol: '"enabled"'. Located at position 20 within expression: matrix.devbuild == "enabled" .github/workflows/ci.yml (Line: 53, Col: 13): Unexpected symbol: '"disabled"'. Located at position 20 within expression: matrix.devbuild == "disabled"
run: |
git config --global http.sslVerify false
git config --global advice.detachedHead false
chmod +x ./build.ps1
pwsh -c "./build.ps1 -BuildFromGit"
- name: Build Lingmo Using Tag
if: ${{ matrix.devbuild == "disabled" }}
run: |
git config --global http.sslVerify false
git config --global advice.detachedHead false
chmod +x ./build.ps1
pwsh -c "./build.ps1"
- uses: actions/upload-artifact@v4
with:
name: Lingmo Artifacts With Nightly ${{ matrix.devbuild }}
path: BuildArtifacts
compression-level: 9 # maximum compression