-
Notifications
You must be signed in to change notification settings - Fork 8
43 lines (38 loc) · 986 Bytes
/
pipeline.yml
File metadata and controls
43 lines (38 loc) · 986 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI / CD
on:
push:
branches: [main]
tags: ["v*"]
pull_request:
branches: [main]
jobs:
# Lint and check the codebase, including running clippy and checking for unused code.
check:
name: Lint & Check
uses: ./.github/workflows/_check.yml
secrets: inherit
# Build releases for native architectures (windows, linux, macos) and webassembly.
native:
name: Native Builds
needs: check
permissions:
contents: write
uses: ./.github/workflows/_native.yml
secrets: inherit
wasm:
name: WebAssembly
needs: check
permissions:
contents: write
uses: ./.github/workflows/_wasm.yml
secrets: inherit
# Build the demo after the wasm build, since it depends on the wasm artifacts.
demo:
name: Build Demo
needs: wasm
permissions:
contents: read
pages: write
id-token: write
uses: ./.github/workflows/_demo.yml
secrets: inherit