-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (40 loc) · 1.08 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
name: build
on:
push:
branches: [latest]
pull_request:
branches: [latest]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: ubuntu-latest
platform: "linux"
experimental: true # we don't actually ship CSIDE on Linux
- os: macos-latest
platform: "mac"
- os: windows-latest
platform: "windows"
steps:
- name: Setup Node.js environment
uses: actions/setup-node@v1.4.4
with:
# Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0
node-version: 16.x
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Python dependencies
run: |
pip3 install mkdocs
pip3 install mkdocs-material
pip3 install mkdocs-localsearch
- name: Build
run: |
npm install grunt-cli -g
npm install .
grunt build-with-${{ matrix.platform }}