temporarily disabled TUI support in pipelines (#32)

Signed-off-by: k4yt3x <i@k4yt3x.com>
pull/33/head
K4YT3X 3 years ago committed by GitHub
parent 2b73c0539c
commit ff97cc5ada
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,9 +5,9 @@ on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
buildType: buildType:
description: 'CMake Build Type' description: "CMake Build Type"
required: true required: true
default: 'Release' default: "Release"
type: choice type: choice
options: options:
- Release - Release
@ -15,7 +15,7 @@ on:
- RelWithDebInfo - RelWithDebInfo
- MinSizeRel - MinSizeRel
stripSymbols: stripSymbols:
description: 'Strip Symbols' description: "Strip Symbols"
required: false required: false
type: boolean type: boolean
push: push:
@ -60,6 +60,7 @@ jobs:
submodules: recursive submodules: recursive
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update
sudo apt-get install -y git build-essential cmake \ sudo apt-get install -y git build-essential cmake \
g++-arm-linux-gnueabihf \ g++-arm-linux-gnueabihf \
gcc-arm-linux-gnueabihf \ gcc-arm-linux-gnueabihf \
@ -67,13 +68,14 @@ jobs:
libasio-dev libasio-dev
- name: Build - name: Build
run: | run: |
build_args='-DENABLE_TUI_SUPPORT=0'
if [[ "${{ github.event_name }}" == 'push' ]]; then if [[ "${{ github.event_name }}" == 'push' ]]; then
build_args="-DCMAKE_BUILD_TYPE=${{ inputs.buildType }}" build_args="$build_args -DCMAKE_BUILD_TYPE=${{ inputs.buildType }}"
if [[ "${{ inputs.stripSymbols }}" == 'true' ]]; then if [[ "${{ inputs.stripSymbols }}" == 'true' ]]; then
build_args="$build_args -DCMAKE_C_FLAGS='-s' -DCMAKE_CXX_FLAGS='-s'" build_args="$build_args -DCMAKE_C_FLAGS='-s' -DCMAKE_CXX_FLAGS='-s'"
fi fi
else else
build_args='-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s"' build_args="$build_args -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS='-s' -DCMAKE_CXX_FLAGS='-s'"
fi fi
if [[ "${{ matrix.arch }}" == 'armhf' ]]; then if [[ "${{ matrix.arch }}" == 'armhf' ]]; then

@ -43,6 +43,7 @@ jobs:
submodules: recursive submodules: recursive
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update
sudo apt-get install -y git build-essential cmake \ sudo apt-get install -y git build-essential cmake \
g++-arm-linux-gnueabihf \ g++-arm-linux-gnueabihf \
gcc-arm-linux-gnueabihf \ gcc-arm-linux-gnueabihf \
@ -52,9 +53,11 @@ jobs:
run: | run: |
if [[ "${{ matrix.arch }}" == 'armhf' ]]; then if [[ "${{ matrix.arch }}" == 'armhf' ]]; then
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \
-DENABLE_TUI_SUPPORT=0 \
-DCROSS_COMPILE_RPI_ARM=1 . -DCROSS_COMPILE_RPI_ARM=1 .
else else
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \
-DENABLE_TUI_SUPPORT=0 \
-D "CROSS_COMPILE_$(echo '${{ matrix.arch }}' | tr '[:lower:]' '[:upper:]')=1" . -D "CROSS_COMPILE_$(echo '${{ matrix.arch }}' | tr '[:lower:]' '[:upper:]')=1" .
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.