-
-
Notifications
You must be signed in to change notification settings - Fork 6
29 lines (26 loc) · 906 Bytes
/
test.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
# ----------------------------------------------------------------------------
# GitHub Actions workflow to test correctness of examples, AsciiDoctor content.
#
# See docs:
# - https://castle-engine.io/github_actions
# - https://docs.github.com/en/actions
# ----------------------------------------------------------------------------
name: Test Examples and AsciiDoctor
on:
push:
pull_request:
repository_dispatch:
types: [cge-docker-unstable-changed]
jobs:
test-docker:
name: Test Examples and AsciiDoctor
runs-on: ubuntu-latest
container: kambi/castle-engine-cloud-builds-tools:cge-unstable
steps:
- uses: actions/checkout@v4
- name: Test Examples
run: cd htdocs/code-samples/ && make
- name: Test Images Generation
run: cd htdocs/images/ && ./update_image_sizes.sh
- name: Test AsciiDoctor
run: cd htdocs/doc/ && make test