mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* Add vitepress tree * Update existing workflows so they dont trigger on changes in the docs path * Add nojekyll, package.json, LICENCE etc * Add crowdin docs upload/download scripts * Add docs flaw checker workflows * Used docs prefix for docs workflows * Crowdin obvious fixes * ci: docs move to self hosted runner runs on a beefy server for faster builds Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: don't run build action for docs or ci changes Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: update runners Signed-off-by: Ramon Roche <mrpollo@gmail.com> * Add docs/en * Add docs assets and scripts * Fix up editlinks to point to PX4 sources * Download just the translations that are supported * Add translation sources for zh, uk, ko * Update latest tranlsation and uorb graphs * update vitepress to latest --------- Signed-off-by: Ramon Roche <mrpollo@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
name: Ubuntu environment build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'stable'
|
|
- 'beta'
|
|
- 'release/**'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '.github/**'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
paths-ignore:
|
|
- 'docs/**'
|
|
- '.github/**'
|
|
|
|
jobs:
|
|
build_and_test:
|
|
name: Build and Test
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
version: ['ubuntu:22.04', 'ubuntu:24.04']
|
|
runs-on: [runs-on,runner=8cpu-linux-x64,"image=ubuntu24-full-x64","run-id=${{ github.run_id }}",spot=false]
|
|
container:
|
|
image: ${{ matrix.version }}
|
|
volumes:
|
|
- /github/workspace:/github/workspace
|
|
steps:
|
|
|
|
- name: Fix git in container
|
|
run: |
|
|
# we only need this because we are running the job in a container
|
|
# when checkout pulls git it does it in a shared volume
|
|
# and file ownership changes between steps
|
|
# first we install git since its missing from the base image
|
|
# then we mark the directory as safe for other instances
|
|
# of git to use.
|
|
apt update && apt install git -y
|
|
git config --global --add safe.directory $(realpath .)
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Deps, Build, and Make Quick Check
|
|
run: |
|
|
# we need to install dependencies and build on the same step
|
|
# given the stateless nature of docker images
|
|
./Tools/setup/ubuntu.sh
|
|
make quick_check
|