-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (38 loc) · 1.18 KB
/
build-remotivelabs-broker-ci.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
48
name: Build remotivelabs-broker package and documentation
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.10
- name: Build package and docs
env:
NO_TTY: true
run: ./python/remotivelabs-broker/docker-build.sh
- id: build_output
run: echo "whl_path=$(ls python/remotivelabs-broker/dist/*.whl)" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
with:
name: remotivelabs-broker-whl
path: ${{ steps.build_output.outputs.whl_path }}
if-no-files-found: error
retention-days: 1
overwrite: true
test:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
os: [ubuntu-22.04, ubuntu-24.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v4
with:
name: remotivelabs-broker-whl
- name: Install remotivelabs-broker
run: pip install *.whl