-
Notifications
You must be signed in to change notification settings - Fork 47
48 lines (37 loc) · 1.15 KB
/
build-emscripten.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
name: Emscripten build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: ["windows-latest", "ubuntu-20.04", "macos-latest"]
build_type: ["Debug", "Release"]
exclude:
# Exclude MacOS-Release
- os: "macos-latest"
build_type: "Release"
include:
- os: "windows-latest"
host_name: "Win10"
- os: "ubuntu-20.04"
host_name: "Linux"
- os: "macos-latest"
host_name: "MacOS"
runs-on: ${{ matrix.os }}
name: ${{ matrix.host_name }} -> Emscripten, ${{ matrix.build_type }}
steps:
- name: Checkout
uses: DiligentGraphics/github-action/checkout@v1
- name: Set up build environment
if: success()
uses: DiligentGraphics/github-action/setup-build-env@v1
with:
platform: Emscripten
- name: Configure CMake
if: success()
uses: DiligentGraphics/github-action/configure-cmake@v1
with:
build-type: ${{ matrix.build_type }}
- name: Build
if: success()
uses: DiligentGraphics/github-action/build@v1