Skip to content

Commit c543803

Browse files
authored
Use -O0 in docs build (#901)
* use -O0 in docs build * Don't trigger tests on docs update * Don't trigger tests on changes to docs.yml
1 parent 4c47083 commit c543803

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ on:
77
- 'LICENSE.md'
88
- 'README.md'
99
- '.github/workflows/TagBot.yml'
10+
- '.github/workflows/docs.yml'
11+
- 'docs/*'
1012
pull_request:
1113
paths-ignore:
1214
- 'LICENSE.md'
1315
- 'README.md'
1416
- '.github/workflows/TagBot.yml'
17+
- '.github/workflows/docs.yml'
18+
- 'docs/*'
1519

1620
concurrency:
1721
group: build-${{ github.event.pull_request.number || github.ref }}

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
${{ runner.os }}-test-
3535
${{ runner.os }}-
3636
- name: Install dependencies
37-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
37+
run: julia -O0 --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
3838
- name: Build and deploy
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/Project.toml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,16 @@ ApproxFun = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"
33
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
44
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
55
DomainSets = "5b8099bc-c8ec-5219-889f-1d9e522a28bf"
6-
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
76
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
87
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
98
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
109
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
11-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
12-
13-
[weakdeps]
14-
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
1510

1611
[compat]
1712
ApproxFun = "0.13"
1813
BandedMatrices = "0.17"
1914
Documenter = "0.27"
2015
DomainSets = "0.6"
21-
IntervalSets = "0.7.5"
2216
Literate = "2"
2317
Plots = "1"
2418
SpecialFunctions = "2"

0 commit comments

Comments
 (0)