This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
59 lines (57 loc) · 1.62 KB
/
build.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
53
54
55
56
57
58
59
on:
workflow_call:
inputs:
workspace:
required: true
type: string
description: "yarn workspace name"
secrets:
CARGO_REGISTRY_TOKEN:
required: true
VSCE_PAT:
required: true
workflow_dispatch:
inputs:
workspace:
required: true
type: string
description: "yarn workspace name"
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
code-target: win32-x64
- os: windows-latest
target: i686-pc-windows-msvc
- os: windows-latest
target: aarch64-pc-windows-msvc
code-target: win32-arm64
- os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
code-target: linux-x64
#container: ubuntu:18.04
#- os: ubuntu-20.04
# target: aarch64-unknown-linux-gnu
# code-target: linux-arm64
#- os: ubuntu-20.04
# target: arm-unknown-linux-gnueabihf
# code-target: linux-armhf
- os: macos-11
target: x86_64-apple-darwin
code-target: darwin-x64
- os: macos-11
target: aarch64-apple-darwin
code-target: darwin-arm64
uses: ./.github/workflows/execute-yarn-workspace-command.yml
with:
workspace: ${{ inputs.workspace }}
command: build
os: ${{ matrix.os }}
target: ${{ matrix.target }}
secrets:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}