-
-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (49 loc) · 1.33 KB
/
yambs-project.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
---
name: Yambs Project
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
GITHUB_API_TOKEN: ${{secrets.API_TOKEN}}
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11, 3.12]
env:
PYTHON_VERSION: ${{matrix.python-version}}
steps:
- uses: actions/checkout@master
with:
submodules: recursive
- uses: seanmiddleditch/gha-setup-ninja@master
with:
version: 1.11.1
- name: python${{matrix.python-version}} setup
uses: actions/setup-python@main
with:
python-version: ${{matrix.python-version}}
cache: pip
- run: pip${{matrix.python-version}} install vmklib>=1.8.0 yambs
- run: mk dz-sync
- run: mk yaml python-lint python-sa
- name: setup clang 17
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x ./llvm.sh
sudo ./llvm.sh 17
rm llvm.sh
- run: sudo apt-get install doxygen
- run: mk download-toolchains
- run: mk g
- run: ninja all
- run: mk dist docs variant=pico
if: github.ref_name != 'master'
- run: mk release variant=pico
if: |
env.GITHUB_API_TOKEN != ''
&& github.ref_name == 'master'