-
Notifications
You must be signed in to change notification settings - Fork 1.1k
52 lines (41 loc) · 1.45 KB
/
CI.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
# Copyright 2020-2021 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0
# CI to build asciidoctor spec targets
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the default branch
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Use Khronos container with asciidoctor toolchain preinstalled
container: khronosgroup/docker-images:asciidoctor-spec
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Build spec targets
- name: spec-generate
run: |
cd specification/2.0
make Specification.html Specification.pdf
- name: Archive generated files
uses: actions/upload-artifact@v2
with:
name: spec-outputs
path: |
specification/2.0/Specification.html
specification/2.0/Specification.pdf
- name: Build interactivity extension targets
run: |
cd extensions/2.0/Khronos/KHR_interactivity
make Specification.html
- name: Archive generated files
uses: actions/upload-artifact@v2
with:
name: interactivity-outputs
path: |
extensions/2.0/Khronos/KHR_interactivity/Specification.html