52
52
- name : Check Out Repo
53
53
uses : actions/checkout@v3
54
54
with :
55
+ token : ${{secrets.GHA_GIT_COMMIT || github.token}}
55
56
fetch-depth : 0
56
57
- name : Create Release Branch?
57
58
id : create-release-branch
@@ -120,6 +121,7 @@ jobs:
120
121
uses : actions/checkout@v3
121
122
with :
122
123
ref : ${{env.RELEASE_BRANCH_NAME}}
124
+ fetch-depth : 0
123
125
- name : Version Code
124
126
shell : bash
125
127
run : |
@@ -153,7 +155,8 @@ jobs:
153
155
matrix :
154
156
# This job intermittently fails on EKS runners and must be run on standalone until
155
157
# https://www.pivotaltracker.com/story/show/185045683 is resolved.
156
- os : [[self-hosted, Linux, X64, build]]
158
+ # os: [[self-hosted, Linux, X64, testing, v2], [self-hosted, Linux, ARM64, testing, v2]]
159
+ os : [[self-hosted, Linux, X64, testing, v2]]
157
160
network : [dev, local, rococo, mainnet]
158
161
include :
159
162
- network : dev
@@ -172,7 +175,7 @@ jobs:
172
175
spec : frequency
173
176
build-profile : release
174
177
release-file-name-prefix : frequency
175
- - os : [self-hosted, Linux, X64, build ]
178
+ - os : [self-hosted, Linux, X64, testing, v2 ]
176
179
arch : amd64
177
180
# - os: [self-hosted, Linux, ARM64]
178
181
# arch: arm64
@@ -239,6 +242,8 @@ jobs:
239
242
runtime_filename_dev : ${{steps.set-env-vars.outputs.runtime_filename_dev}}
240
243
runtime_filename_rococo : ${{steps.set-env-vars.outputs.runtime_filename_rococo}}
241
244
runtime_filename_mainnet : ${{steps.set-env-vars.outputs.runtime_filename_mainnet}}
245
+ # env:
246
+ # HOME: /root
242
247
strategy :
243
248
fail-fast : true
244
249
matrix :
@@ -334,7 +339,7 @@ jobs:
334
339
build-rust-developer-docs :
335
340
needs : version-code
336
341
name : Build Rust Developer Docs
337
- runs-on : [self-hosted, Linux, X64, build ]
342
+ runs-on : [self-hosted, Linux, X64, testing, v2 ]
338
343
container : ghcr.io/libertydsnp/frequency/ci-base-image
339
344
steps :
340
345
- name : Check Out Repo
@@ -343,9 +348,13 @@ jobs:
343
348
ref : ${{env.RELEASE_BRANCH_NAME}}
344
349
- name : Setup Pages
345
350
uses : actions/configure-pages@v3
351
+ # cargo doc requires a toolchain version ^nightly-2022-11-15 because of a bug that causes a panic
352
+ # When the toolchain is updated to ^nightly-2023-06-01, this can be removed
346
353
- name : Build Docs
347
354
run : |
348
- RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo doc --no-deps --features frequency
355
+ rustup install nightly-2023-06-01
356
+ rustup target add wasm32-unknown-unknown --toolchain nightly-2023-06-01
357
+ RUSTDOCFLAGS="--enable-index-page --check -Zunstable-options" cargo +nightly-2023-06-01 doc --no-deps --features frequency
349
358
- name : Upload Docs
350
359
uses : actions/upload-pages-artifact@v1
351
360
with :
0 commit comments