Skip to content

Commit ae923e3

Browse files
committed
[PR-25811] Self-hosted CI
1 parent df32b09 commit ae923e3

File tree

2 files changed

+52
-36
lines changed

2 files changed

+52
-36
lines changed

.circleci/config.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
push:
9+
branches:
10+
- master
11+
- staging-*
12+
workflow_dispatch:
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/heads/staging-') }}
17+
18+
jobs:
19+
build:
20+
runs-on: runs-on=${{ github.run_id }}/cpu=1+128/ram=2+512/family=m8+c8+r8+m7+c7+r7+t4/image=ubuntu22-full-arm64/spot=lowest-price
21+
22+
env:
23+
ENVIRONMENT: production
24+
25+
steps:
26+
- uses: runs-on/action@v2
27+
with:
28+
# See https://github.com/runs-on/action#options
29+
metrics: cpu,memory
30+
show_costs: summary
31+
show_env: true
32+
33+
- name: Checkout code
34+
uses: actions/checkout@v5
35+
36+
- name: Setup Python
37+
uses: actions/setup-python@v6
38+
with:
39+
python-version: '3.12'
40+
41+
- name: Install uv
42+
uses: astral-sh/setup-uv@v7
43+
with:
44+
enable-cache: true
45+
46+
- name: Install dependencies
47+
working-directory: sphinx
48+
run: uv sync
49+
50+
- name: Build documentation
51+
working-directory: sphinx
52+
run: uv run sphinx-build -nW -b dirhtml -d build/doctrees ../source build/html

0 commit comments

Comments
 (0)