File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,13 @@ permissions:
19
19
contents : write # for committing to gh-pages branch.
20
20
21
21
jobs :
22
+ tests :
23
+ uses : ./.github/workflows/rust.yml
22
24
build-github-pages :
23
25
runs-on : ubuntu-latest
26
+ needs : tests
24
27
steps :
25
- - uses : actions /checkout@v4 # repo checkout
28
+ - uses : wykies /checkout@main
26
29
- uses : actions-rs/toolchain@v1 # get rust toolchain for wasm
27
30
with :
28
31
profile : minimal
Original file line number Diff line number Diff line change 1
- on : [push, pull_request]
2
-
3
1
name : CI
4
2
5
3
concurrency :
6
4
group : ${{ github.workflow }}-${{ github.ref }}
7
5
cancel-in-progress : true
6
+
7
+ on :
8
+ push :
9
+ branches :
10
+ - develop
11
+ pull_request :
12
+ types : [ opened, synchronize, reopened ]
13
+ branches :
14
+ - develop
15
+ workflow_call :
8
16
9
17
env :
10
- # --cfg=web_sys_unstable_apis is required to enable the web_sys clipboard API which egui_web uses
11
- # https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
12
- # https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
13
18
RUSTFLAGS : -D warnings --cfg=web_sys_unstable_apis
14
19
RUSTDOCFLAGS : -D warnings
15
20
You can’t perform that action at this time.
0 commit comments