CI
All checks were successful
ROMEO CI Job / Build_Code (push) Successful in 27s

This commit is contained in:
Ulrich Mohr 2024-12-17 15:09:41 +01:00
parent e0242e515d
commit 753beba2f4
4 changed files with 80 additions and 29 deletions

View File

@ -0,0 +1,31 @@
name: ROMEO Builder
on:
workflow_call
jobs:
Build_Code:
runs-on: romeo_runner
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
token: ${{ secrets.ROMEO_NUMALFIX_CI_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

View File

@ -1,30 +1,8 @@
name: ROMEO CI Builder
name: ROMEO CI Job
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
Build_Code:
uses: ./.gitea/workflows/build.yaml
secrets: inherit

View File

@ -0,0 +1,42 @@
name: ROMEO Release Job
on: push
jobs:
Build_Code:
runs-on: romeo_runner
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
token: ${{ secrets.ROMEO_NUMALFIX_CI_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
- name: Create artefacts
run: |
cp build_z7/romeo-obsw romeo-obsw_v1234
date > description
echo 1234 >> description
- name: Create Release
uses: https://gitea.com/actions/gitea-release-action@v1
with:
body_path: description
files: |-
romeo-obsw_v1234

4
.gitmodules vendored
View File

@ -3,7 +3,7 @@
url = https://github.com/FreeRTOS/FreeRTOS-Kernel
[submodule "contrib/lwip"]
path = contrib/lwip
url = ../lwip
url = ../../romeo/lwip
[submodule "fsbl-compiled"]
path = fsbl-compiled
url = ../fsbl-compiled
url = ../../romeo/fsbl-compiled