Skip to content

Commit

Permalink
build image
Browse files Browse the repository at this point in the history
  • Loading branch information
AAndrisa committed Dec 10, 2024
1 parent 1b0b03d commit 3036e43
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/kuiper2_0-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,31 @@ name: Kuiper2.0
on:
push:
branches:
- staging/kuiper2.0
pull_request:
branches:
- staging/kuiper2.0
- customed_branch
# pull_request:
# branches:
# - staging/kuiper2.0

jobs:
Build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
arch: [32, 64]
build_type: [basic, full]
build_type: [customed]
include:
- arch: 32
build_type: basic
os: ubuntu-latest
- arch: 64
build_type: basic
build_type: customed
os: ubuntu-latest
- arch: 32
build_type: full
os: [self-hosted, kuiper32_full]
- arch: 64
build_type: full
build_type: customed
os: ubuntu-latest
# - arch: 32
# build_type: full
# os: [self-hosted, kuiper32_full]
# - arch: 64
# build_type: full
# os: ubuntu-latests
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -57,13 +57,13 @@ jobs:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ github.workspace }}/kuiper-volume

Trigger_workflow:
needs: Build
runs-on: ubuntu-latest
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v3
- name: Trigger docker build
run: gh workflow run docker-image-build.yml --ref staging/kuiper2.0
env:
GH_TOKEN: ${{ github.token }}
# Trigger_workflow:
# needs: Build
# runs-on: ubuntu-latest
# if: github.event_name == 'push'
# steps:
# - uses: actions/checkout@v3
# - name: Trigger docker build
# run: gh workflow run docker-image-build.yml --ref staging/kuiper2.0
# env:
# GH_TOKEN: ${{ github.token }}
16 changes: 8 additions & 8 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CONFIG_DESKTOP=n
# [LIBIIO]
# Libiio is an Analog Devices library for interfacing with Linux IIO devices.
# Github: https://github.com/analogdevicesinc/libiio
CONFIG_LIBIIO=n
CONFIG_LIBIIO=y
CONFIG_LIBIIO_CMAKE_ARGS="-DWITH_HWMON=ON \
-DWITH_SERIAL_BACKEND=ON \
-DWITH_MAN=ON \
Expand All @@ -36,7 +36,7 @@ CONFIG_LIBIIO_CMAKE_ARGS="-DWITH_HWMON=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_COLOR_MAKEFILE=OFF \
-Bbuild -H."
BRANCH_LIBIIO=libiio-v0
BRANCH_LIBIIO=2023_R2
#
#
#
Expand Down Expand Up @@ -68,13 +68,13 @@ BRANCH_LIBM2K=main
# Libad9166-iio: library used for userspace, which applies calibration gain and offset for a user-given frequency.
# Github: https://github.com/analogdevicesinc/libad9166-iio
# *depends on LIBIIO
CONFIG_LIBAD9166_IIO=n
CONFIG_LIBAD9166_IIO=y
CONFIG_LIBAD9166_IIO_CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_COLOR_MAKEFILE=OFF \
-DPYTHON_BINDINGS=ON \
-Bbuild -H."
BRANCH_LIBAD9166_IIO=libad9166-iio-v0
BRANCH_LIBAD9166_IIO=2023_R2
#
#
#
Expand All @@ -83,12 +83,12 @@ BRANCH_LIBAD9166_IIO=libad9166-iio-v0
# where multiple AD9361 devices are use) and can create AD9361 specific FIR filters on the fly
# Github: https://github.com/analogdevicesinc/libad9361-iio
# *depends on LIBIIO
CONFIG_LIBAD9361_IIO=n
CONFIG_LIBAD9361_IIO=y
CONFIG_LIBAD9361_IIO_CMAKE_ARGS="-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_COLOR_MAKEFILE=OFF \
-Bbuild -H."
BRANCH_LIBAD9361_IIO=libad9361-iio-v0
BRANCH_LIBAD9361_IIO=2023_R2
#
#
#
Expand Down Expand Up @@ -178,8 +178,8 @@ USE_ADI_REPO_RPI_BOOT=y
# [INTEL AND XILINX BOOT FILES]
# Contains boot files for Intel and Xilinx.
CONFIG_XILINX_INTEL_BOOT_FILES=y
RELEASE_XILINX_INTEL_BOOT_FILES=2022_r2
USE_ADI_REPO_CARRIERS_BOOT=y
RELEASE_XILINX_INTEL_BOOT_FILES=2023_r2
USE_ADI_REPO_CARRIERS_BOOT=n
#
#
#
Expand Down

0 comments on commit 3036e43

Please sign in to comment.