mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #14308 from aabadie/pr/ci/github-actions
ci: setup github actions
This commit is contained in:
commit
d065b7b613
37
.github/workflows/tools-buildtest.yml
vendored
Normal file
37
.github/workflows/tools-buildtest.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: tools-buildtest
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
tools-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Build flatc standalone
|
||||
uses: aabadie/riot-action@v1
|
||||
with:
|
||||
cmd: make -C dist/tools/flatc
|
||||
- name: Build mosquitto_rsmb standalone
|
||||
uses: aabadie/riot-action@v1
|
||||
with:
|
||||
cmd: make -C dist/tools/mosquitto_rsmb
|
||||
- name: Build stm32 spi_divtable
|
||||
uses: aabadie/riot-action@v1
|
||||
with:
|
||||
cmd: make -C cpu/stm32/dist/spi_divtable
|
||||
- name: Build stm32 clk_conf
|
||||
uses: aabadie/riot-action@v1
|
||||
with:
|
||||
cmd: make -C cpu/stm32/dist/clk_conf
|
||||
- name: Build kinetis calc_spi_scalers
|
||||
uses: aabadie/riot-action@v1
|
||||
with:
|
||||
cmd: make -C cpu/kinetis/dist/calc_spi_scalers
|
||||
31
.github/workflows/tools-test.yml
vendored
Normal file
31
.github/workflows/tools-test.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: tools-test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
python-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install tox
|
||||
- name: Test backport_pr
|
||||
run: cd dist/tools/backport_pr && tox
|
||||
- name: Test compile_and_test_for_board
|
||||
run: cd dist/tools/compile_and_test_for_board && tox
|
||||
- name: Test riotctrl_shell
|
||||
run: cd dist/pythonlibs/riotctrl_shell && tox
|
||||
@ -1 +1 @@
|
||||
git+ssh://git@github.com/RIOT-OS/riotctrl
|
||||
git+https://github.com/RIOT-OS/riotctrl
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user