-
Notifications
You must be signed in to change notification settings - Fork 9
53 lines (52 loc) · 1.44 KB
/
release.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
name: Release
on:
push:
tags: ["v*.*.*"]
jobs:
lint-node:
name: Run Node.js lint
uses: kuba2k2/kuba2k2/.github/workflows/lint-node.yml@master
build-node:
name: Build Node.js project
needs:
- lint-node
uses: kuba2k2/kuba2k2/.github/workflows/build-node.yml@master
with:
files: |
dist/
manifest.json
LICENSE
output-artifact: firefox-webserial
lint-clang:
name: Run Clang lint
uses: kuba2k2/kuba2k2/.github/workflows/lint-clang.yml@master
build-pio:
name: Build PlatformIO project
needs:
- lint-clang
uses: kuba2k2/kuba2k2/.github/workflows/build-pio.yml@master
strategy:
matrix:
os:
- runs-on: windows-latest
pio-env: windows_x86
output-bin: firefox-webserial.exe
with:
runs-on: ${{ matrix.os.runs-on }}
project-directory: ./native/
args: -e ${{ matrix.os.pio-env }}
files: |
native/.pio/build/${{ matrix.os.pio-env }}/${{ matrix.os.output-bin }}
output-artifact: native-${{ matrix.os.pio-env }}
build-nsis:
name: Build NSIS installer
needs:
- build-pio
uses: kuba2k2/kuba2k2/.github/workflows/build-nsis.yml@master
with:
input-artifact: native-windows_x86
input-path: native/install/
script-file: native/install/windows_x86.nsi
files: |
native/install/firefox-webserial-v*.exe
output-artifact: firefox-webserial