-
Notifications
You must be signed in to change notification settings - Fork 41
54 lines (51 loc) · 1.8 KB
/
Copy pathCI.yml
File metadata and controls
54 lines (51 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: CI
permissions: {}
on:
push:
branches:
- master
- '[0-9]+.[0-9]+'
pull_request:
jobs:
formatting_linting:
name: Check for formatting or linting issues
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: cachix/install-nix-action@630ae543ea3a38a9a4166f03376c02c50f408342 # v31.11.0
- name: Build
run: nix-shell --pure --run 'treefmt --ci'
build_warning_nix:
name: Build with warnings as errors using the environment provided by Nix
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: cachix/install-nix-action@630ae543ea3a38a9a4166f03376c02c50f408342 # v31.11.0
- name: Build
run: nix-shell --pure --run 'make SPHINXOPTS='-W' html'
build_docker_image_theme_online_docs:
name: Check build of the Docker image with the Tuleap online docs theme (docs.tuleap.com)
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Build image
run: docker build -f online-docs/Dockerfile -t test-build .
build_docker_image_linkcheck:
name: Check build of the Docker image used to run linkcheck
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Build image
run: docker build -f build-support/linkcheck-docker.dockerfile -t test-build-linkcheck .