-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #731 from bitcraze/toverumar/ci_exp_file
Add an experiment file to be able to test new CI stuff on branches
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI experiment | ||
|
||
# Controls when the action will run. | ||
on: | ||
workflow_dispatch: | ||
|
||
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 |