From c5438030d1ccb262e70441527ba82ac3f373a849 Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Wed, 2 Aug 2023 20:09:38 +0400 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 4 ++++ .github/workflows/docs.yml | 2 +- docs/Project.toml | 6 ------ 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31c2bfa61..4a154aa4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7c6b8be71..60e766ad4 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 }} diff --git a/docs/Project.toml b/docs/Project.toml index 0e59d6ea9..25a53356e 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -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"