-
Notifications
You must be signed in to change notification settings - Fork 471
40 lines (32 loc) · 1022 Bytes
/
CI.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
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# Weekly build to make sure dependencies are OK
- cron: '30 16 * * 3'
jobs:
checks:
runs-on: ubuntu-latest
steps:
# Checkout, fetch-depth=0 fetches the full repos (required for automatic versioning to work)
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Check build and install
run: |
pip install setuptools
python3 setup.py sdist
pip install dist/*.tar.gz
- run: docker pull bitcraze/builder
- name: CI checks
run: docker run --rm -v ${PWD}:/module bitcraze/builder ./tools/build/build