File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,15 @@ jobs:
7070 g++-arm-linux-gnueabihf \
7171 gcc-arm-linux-gnueabihf \
7272 g++-aarch64-linux-gnu \
73- libasio-dev libssl-dev
73+ libasio-dev libssl-dev libncurses-dev
7474 - name : Build
7575 run : |
76- build_args='-DENABLE_TUI_SUPPORT=0'
76+ build_args=''
77+ if [[ "${{ matrix.arch }}" == 'amd64' ]]; then
78+ build_args='-DENABLE_TUI_SUPPORT=1'
79+ else
80+ build_args='-DENABLE_TUI_SUPPORT=0'
81+ fi
7782 if [[ "${{ github.event_name }}" == 'push' ]]; then
7883 build_args="$build_args -DCMAKE_BUILD_TYPE=${{ inputs.build_type }}"
7984 if [[ "${{ inputs.strip_symbols }}" == 'true' ]]; then
Original file line number Diff line number Diff line change @@ -48,17 +48,23 @@ jobs:
4848 g++-arm-linux-gnueabihf \
4949 gcc-arm-linux-gnueabihf \
5050 g++-aarch64-linux-gnu \
51- libasio-dev libssl-dev
51+ libasio-dev libssl-dev libncurses-dev
5252 - name : Build
5353 run : |
5454 if [[ "${{ matrix.arch }}" == 'armhf' ]]; then
5555 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \
5656 -DENABLE_TUI_SUPPORT=0 \
5757 -DCROSS_COMPILE_RPI_ARM=1 .
5858 else
59- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \
60- -DENABLE_TUI_SUPPORT=0 \
61- -D "CROSS_COMPILE_$(echo '${{ matrix.arch }}' | tr '[:lower:]' '[:upper:]')=1" .
59+ if [[ "${{ github.event_name }}" == 'amd64' ]]; then
60+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \
61+ -DENABLE_TUI_SUPPORT=1 \
62+ -D "CROSS_COMPILE_$(echo '${{ matrix.arch }}' | tr '[:lower:]' '[:upper:]')=1" .
63+ else
64+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-s" -DCMAKE_CXX_FLAGS="-s" \
65+ -DENABLE_TUI_SUPPORT=0 \
66+ -D "CROSS_COMPILE_$(echo '${{ matrix.arch }}' | tr '[:lower:]' '[:upper:]')=1" .
67+ fi
6268 fi
6369
6470 make -j $(nproc)
You can’t perform that action at this time.
0 commit comments