-
Notifications
You must be signed in to change notification settings - Fork 142
65 lines (58 loc) · 1.98 KB
/
ci_cd.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
53
54
55
56
57
58
59
60
61
62
63
64
65
name: GitHub CI CD
on:
pull_request:
workflow_dispatch:
push:
tags:
- "*"
branches:
- main
env:
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
MAIN_PYTHON_VERSION: '3.10'
PACKAGE_NAME: 'PyAEDT'
DOCUMENTATION_CNAME: 'aedt.docs.pyansys.com'
MEILISEARCH_API_KEY: ${{ secrets.MEILISEARCH_API_KEY }}
MEILISEARCH_HOST_URL: ${{ vars.MEILISEARCH_HOST_URL }}
MEILISEARCH_PUBLIC_API_KEY: ${{ secrets.MEILISEARCH_PUBLIC_API_KEY }}
ON_CI: True
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
doc-build-win-cache:
name: Documentation windows with cache
runs-on: [ self-hosted, Windows, pyaedt ]
steps:
- name: Run Ansys documentation building action
uses: ansys/actions/doc-build@fix/doc-build-without-python-cache
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: true
doc-build-win-no-cache:
name: Documentation windows without cache
runs-on: [ self-hosted, Windows, pyaedt ]
steps:
- name: Run Ansys documentation building action
uses: ansys/actions/doc-build@fix/doc-build-without-python-cache
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: false
doc-build-lin-cache:
name: Documentation linux with cache
runs-on: [ self-hosted, Linux, pyaedt ]
steps:
- name: Run Ansys documentation building action
uses: ansys/actions/doc-build@fix/doc-build-without-python-cache
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: true
doc-build-lin-no-cache:
name: Documentation linux without cache
runs-on: [ self-hosted, Linux, pyaedt ]
steps:
- name: Run Ansys documentation building action
uses: ansys/actions/doc-build@fix/doc-build-without-python-cache
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
use-python-cache: false