File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed
Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 2626 - " 1"
2727 - " lts"
2828 os :
29- - ubuntu-latest
29+ - self-hosted
3030 arch :
3131 - x64
32+ env :
33+ JULIA_NUM_THREADS : auto
3234 steps :
3335 - uses : actions/checkout@v4
3436 - uses : julia-actions/setup-julia@v2
Original file line number Diff line number Diff line change 55 workflow_dispatch :
66jobs :
77 CompatHelper :
8- runs-on : ubuntu-latest
8+ runs-on : [self-hosted, ubuntu-latest]
9+ env :
10+ JULIA_NUM_THREADS : auto
911 steps :
1012 - name : Pkg.add("CompatHelper")
1113 run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ concurrency:
2929jobs :
3030 # Build job
3131 build :
32- runs-on : ubuntu-20.04
32+ runs-on : self-hosted
33+ env :
34+ JULIA_NUM_THREADS : auto
3335 steps :
3436 - name : Checkout
3537 uses : actions/checkout@v4
4042 - name : Install documentation dependencies
4143 run : sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
4244 - name : Install custom documentation dependencies
43- run : DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate(); Pkg.precompile(); Pkg.status()'
45+ run : DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --threads auto -- project=docs -e 'using Pkg; pkg"dev ."; Pkg.instantiate(); Pkg.precompile(); Pkg.status()'
4446 # - name: Creating new mds from src
4547 - name : Build and deploy
4648 env :
5052 JULIA_DEBUG : " Documenter"
5153 DATADEPS_ALWAYS_ACCEPT : true
5254 run : |
53- DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --project=docs/ --color=yes docs/make.jl
55+ DISPLAY=:0 xvfb-run -s '-screen 0 1024x768x24' julia --threads auto -- project=docs/ --color=yes docs/make.jl
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ permissions:
2323jobs :
2424 TagBot :
2525 if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
26- runs-on : ubuntu-latest
26+ runs-on : [self-hosted, ubuntu-latest]
2727 steps :
2828 - uses : JuliaRegistries/TagBot@v1
2929 with :
You can’t perform that action at this time.
0 commit comments