@@ -98,65 +98,65 @@ jobs:
9898 # file: lcov.info
9999 token : ${{ secrets.CODECOV_TOKEN }}
100100 fail_ci_if_error : false # or true if you want CI to fail when Codecov fails
101- benchmark :
102- # needs: docs # ensures this is run after docs. docs replaces gh-pages branch so this needs to happen after
103- name : Run Julia benchmark
104- runs-on : ${{ matrix.os }}
105- strategy :
106- fail-fast : false
107- matrix :
108- version :
109- - ' 1.12'
110- os :
111- - ubuntu-latest
112- arch :
113- - x64
114- steps :
115- - uses : actions/checkout@v4
116- - uses : julia-actions/setup-julia@v1
117- with :
118- version : ${{ matrix.version }}
119- arch : ${{ matrix.arch }}
120- - name : Install dependencies
121- run : |
122- julia --project=benchmark -e '
123- import Pkg;
124- Pkg.develop(Pkg.PackageSpec(path=pwd()));
125- Pkg.instantiate()'
126- - name : Run benchmark
127- run : julia --project=benchmark benchmark/runbenchmarks.jl
128- - uses : actions/cache@v4
129- with :
130- path : ./cache
131- key : ${{ runner.os }}-benchmark
132- # env:
133- # cache-name: cache-artifacts
134- # with:
135- # path: ~/.julia/artifacts
136- # key: runner.os−test−env.cache−name−{{ hashFiles('**/Project.toml') }}
137- # restore-keys: |
138- # runner.os−test−
139- # ${{ env.cache-name }}-
140- # ${{ runner.os }}-test-
141- # ${{ runner.os }}-
142- - name : Store benchmark result
143- uses : benchmark-action/github-action-benchmark@v1
144- with :
145- # name: Julia benchmark result
146- tool : ' julia'
147- output-file-path : output.json # benchmark/
148- # Use personal access token instead of GITHUB_TOKEN due to https://github.community/t/github-action-not-triggering-gh-pages-upon-push/16096
149- # external-data-json-path: ./cache/output.json
150- github-token : ${{ secrets.GITHUB_TOKEN }}
151- auto-push : true
152- # Show alert with commit comment on detecting possible performance regression
153- alert-threshold : ' 200%'
154- comment-on-alert : true
155- fail-on-alert : false
156- gh-pages-branch : main # put in to main so that documenter can build with the data
157- benchmark-data-dir-path : docs/src/bench
101+ # benchmark:
102+ # #needs: docs # ensures this is run after docs. docs replaces gh-pages branch so this needs to happen after
103+ # name: Run Julia benchmark
104+ # runs-on: ${{ matrix.os }}
105+ # strategy:
106+ # fail-fast: false
107+ # matrix:
108+ # version:
109+ # - '1.12'
110+ # os:
111+ # - ubuntu-latest
112+ # arch:
113+ # - x64
114+ # steps:
115+ # - uses: actions/checkout@v4
116+ # - uses: julia-actions/setup-julia@v1
117+ # with:
118+ # version: ${{ matrix.version }}
119+ # arch: ${{ matrix.arch }}
120+ # - name: Install dependencies
121+ # run: |
122+ # julia --project=benchmark -e '
123+ # import Pkg;
124+ # Pkg.develop(Pkg.PackageSpec(path=pwd()));
125+ # Pkg.instantiate()'
126+ # - name: Run benchmark
127+ # run: julia --project=benchmark benchmark/runbenchmarks.jl
128+ # - uses: actions/cache@v4
129+ # with:
130+ # path: ./cache
131+ # key: ${{ runner.os }}-benchmark
132+ # # env:
133+ # # cache-name: cache-artifacts
134+ # # with:
135+ # # path: ~/.julia/artifacts
136+ # # key: runner.os−test−env.cache−name−{{ hashFiles('**/Project.toml') }}
137+ # # restore-keys: |
138+ # # runner.os−test−
139+ # # ${{ env.cache-name }}-
140+ # # ${{ runner.os }}-test-
141+ # # ${{ runner.os }}-
142+ # - name: Store benchmark result
143+ # uses: benchmark-action/github-action-benchmark@v1
144+ # with:
145+ # # name: Julia benchmark result
146+ # tool: 'julia'
147+ # output-file-path: output.json #benchmark/
148+ # # Use personal access token instead of GITHUB_TOKEN due to https://github.community/t/github-action-not-triggering-gh-pages-upon-push/16096
149+ # #external-data-json-path: ./cache/output.json
150+ # github-token: ${{ secrets.GITHUB_TOKEN }}
151+ # auto-push: true
152+ # # Show alert with commit comment on detecting possible performance regression
153+ # alert-threshold: '200%'
154+ # comment-on-alert: true
155+ # fail-on-alert: false
156+ # gh-pages-branch: main # put in to main so that documenter can build with the data
157+ # benchmark-data-dir-path: docs/src/bench
158158 docs :
159- needs : benchmark # So it can build the page with the results
159+ # needs: benchmark # So it can build the page with the results
160160 name : Documentation
161161 runs-on : ubuntu-latest
162162 steps :
0 commit comments