Skip to content

Commit

Permalink
Use -O0 in docs build (#901)
Browse files Browse the repository at this point in the history
* use -O0 in docs build

* Don't trigger tests on docs update

* Don't trigger tests on changes to docs.yml
  • Loading branch information
jishnub authored Aug 2, 2023
1 parent 4c47083 commit c543803
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ on:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
- '.github/workflows/docs.yml'
- 'docs/*'
pull_request:
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/workflows/TagBot.yml'
- '.github/workflows/docs.yml'
- 'docs/*'

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
${{ runner.os }}-test-
${{ runner.os }}-
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
run: julia -O0 --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 0 additions & 6 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@ ApproxFun = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DomainSets = "5b8099bc-c8ec-5219-889f-1d9e522a28bf"
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[weakdeps]
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"

[compat]
ApproxFun = "0.13"
BandedMatrices = "0.17"
Documenter = "0.27"
DomainSets = "0.6"
IntervalSets = "0.7.5"
Literate = "2"
Plots = "1"
SpecialFunctions = "2"
Expand Down

0 comments on commit c543803

Please sign in to comment.