diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..196de4f --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -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 diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 55eca75..5a111a0 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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 diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml new file mode 100644 index 0000000..af8818b --- /dev/null +++ b/.gitea/workflows/release.yaml @@ -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 diff --git a/.gitmodules b/.gitmodules index 5815ed4..7cb3ea4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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