Skip to content

Move long-form docs out of the repository root #8

Move long-form docs out of the repository root

Move long-form docs out of the repository root #8

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
repo-sanity:
name: Repository sanity
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: pip
- name: Install Python dependencies
run: python -m pip install -r requirements.txt
- name: Python compile check
run: python -m py_compile build.py package.py sysroot.py utils.py scripts/ci/check_repo.py
- name: Shell syntax check
shell: bash
run: |
set -euo pipefail
bash -n install_flutter_complete.sh
bash -n scripts/install/install.sh
bash -n scripts/install/install_termux_flutter.sh
bash -n scripts/install/post_install.sh
bash -n scripts/test/gh_e2e_test.sh
bash -n scripts/device/termux_smoke.sh
- name: PowerShell syntax check
shell: pwsh
run: |
$ErrorActionPreference = 'Stop'
$null = [scriptblock]::Create((Get-Content scripts/device/run_termux_smoke.ps1 -Raw))
- name: Repository contract checks
run: python scripts/ci/check_repo.py
- name: Diff whitespace check
run: git diff --check