forked from openscad/openscad
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1.01 KB
/
test-examples.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
name: Linux Examples Tests
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build_and_test:
strategy:
matrix:
experimental: [true, false]
runs-on: ubuntu-latest
name: Test examples - ${{ matrix.experimental && 'experimental' || 'non-experimental' }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install dependencies
run: ./scripts/github-ci-linux-get-dependencies.sh
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Build and test
run: ./scripts/github-ci.sh ${{ matrix.experimental && 'experimental' || ''}} enable_python build test_examples test
- name: Upload Test Result Report
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: Test Result Report (Test examples ${{ matrix.experimental && 'experimental' || 'non-experimental' }})
path: |
b/Testing/Temporary/*_report.html
b/Testing/Temporary/LastTest.log