-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (38 loc) · 950 Bytes
/
build.yaml
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
name: Build
on:
pull_request:
branches: [main, develop]
workflow_dispatch:
permissions:
contents: write
actions: write
pull-requests: write
run-name: Build from ${{ github.ref }}
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
py_version: [ "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: ./.github/actions/rust-toolchain
with:
toolchain: 1.75.0
components: rustfmt clippy
- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.py_version }}
- name: Install LLVM
uses: ./.github/actions/install-llvm
with:
os: "ubuntu-20.04"
version: "15"
- name: Build
run: |
pwsh ./build.ps1
shell: pwsh