forked from ROMEO/obsw
This commit is contained in:
parent
e0242e515d
commit
753beba2f4
31
.gitea/workflows/build.yaml
Normal file
31
.gitea/workflows/build.yaml
Normal 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
|
@ -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
|
||||
|
42
.gitea/workflows/release.yaml
Normal file
42
.gitea/workflows/release.yaml
Normal 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
4
.gitmodules
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user