forked from ROMEO/obsw
ci workflow and docker files
This commit is contained in:
30
.gitea/workflows/ci.yaml
Normal file
30
.gitea/workflows/ci.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
name: ROMEO CI Builder
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
Build Code:
|
||||
runs-on: romeo-builder
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.ROMEO_BUILDFIX_TOKEN }}
|
||||
submodules: 'recursive'
|
||||
- name: Configure z7
|
||||
run: |
|
||||
mkdir build_z7
|
||||
cd build_z7
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../bsp_z7/cmake/arm-none-eabi.toolchain ..
|
||||
- name: Build z7
|
||||
run: |
|
||||
cd build_z7
|
||||
make -j8
|
||||
- name: Configure linux
|
||||
run: |
|
||||
mkdir build_linux
|
||||
cd build_linux
|
||||
cmake ..
|
||||
- name: Build linux
|
||||
run: |
|
||||
cd build_linux
|
||||
make -j8
|
Reference in New Issue
Block a user