-
-
Notifications
You must be signed in to change notification settings - Fork 2
52 lines (40 loc) · 1.09 KB
/
extension-build-web.yml
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
44
45
46
47
48
49
50
51
52
name: Build Extension - Web
on:
workflow_call:
inputs:
git-base-ref:
type: string
default: 'main'
# Make sure jobs cannot overlap.
concurrency:
group: build-${{ github.ref }}-web
cancel-in-progress: true
jobs:
build:
name: Compile and upload Web version
runs-on: ubuntu-latest
env:
GIT_BASE_REF: ${{ inputs.git-base-ref }}
SCONS_PLATFORM: web
steps:
- uses: actions/checkout@v4
with:
submodules: true
# Set up prerequisites.
- name: Set up build cache
uses: ./.github/actions/setup-cache
continue-on-error: true
- name: Install build dependencies
uses: ./.github/actions/install-deps
# Build all targets.
- name: Build GDSiON (release)
uses: ./.github/actions/build-extension
with:
target: template_release
- name: Build GDSiON (debug)
uses: ./.github/actions/build-extension
with:
target: template_debug
# Upload the results.
- name: Upload release
uses: ./.github/actions/upload-extension