Skip to content

Commit

Permalink
Update images
Browse files Browse the repository at this point in the history
  • Loading branch information
awawa-dev committed Jun 27, 2023
1 parent 96e145f commit 55c7d4f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .ci/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else
CI_NAME="$(uname -s | tr '[:upper:]' '[:lower:]')"
fi

if [[ "$USE_CCACHE" == '1' ]]; then
if [[ "$BUILD_ARCHIVES" == '0' ]]; then
IS_ARCHIVE_SKIPPED=" -DDO_NOT_BUILD_ARCHIVES=ON"
else
IS_ARCHIVE_SKIPPED=" -DDO_NOT_BUILD_ARCHIVES=OFF"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
USE_CACHE: "1"
RESET_CACHE: "0"
USE_CODEQL: "0"
BUILD_ARCHIVES: ${{ startsWith(github.event.ref, 'refs/tags') && 1 || 0 }}

jobs:

Expand All @@ -21,7 +22,7 @@ jobs:
strategy:
matrix:
linuxVersion: [ bullseye ]
dockerImage: [ x86_64, rpi012-armv6l, arm-aarch64 ]
dockerImage: [ x86_64, arm-32bit-armv6l, arm-64bit-aarch64 ]
include:
- dockerImage: x86_64
linuxVersion: bullseye
Expand All @@ -31,11 +32,11 @@ jobs:
linuxVersion: jammy
dockerName: Ubuntu 22.04 LTS (x86_64)
platform: linux
- dockerImage: rpi012-armv6l
- dockerImage: arm-32bit-armv6l
linuxVersion: bullseye
dockerName: Debian Bullseye (ARM 32-bit Raspberry Pi OS)
platform: rpi
- dockerImage: arm-aarch64
- dockerImage: arm-64bit-aarch64
linuxVersion: bullseye
dockerName: Debian Bullseye (ARM 64-bit Raspberry Pi OS)
platform: rpi
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/upload-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
matrix:
niceName: [ Debian ]
linuxVersion: [ bullseye, bookworm ]
dockerImage: [ x86_64, rpi012-armv6l, arm-aarch64 ]
dockerImage: [ x86_64, arm-32bit-armv6l, arm-64bit-aarch64 ]
include:
- dockerImage: x86_64
dockerName: Debian (amd64)
arch: amd64
platform: linux
- dockerImage: rpi012-armv6l
- dockerImage: arm-32bit-armv6l
dockerName: Debian (armhf)
arch: armhf
platform: rpi
- dockerImage: arm-aarch64
- dockerImage: arm-64bit-aarch64
dockerName: Debian (arm64)
arch: arm64
platform: rpi
Expand Down
8 changes: 5 additions & 3 deletions dependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ else ()

set(CMAKE_POLICY_DEFAULT_CMP0071 NEW)

file(READ "${CMAKE_CURRENT_SOURCE_DIR}/external/flatbuffers/CMakeLists.txt" FILE_CONTENTS_FLAT)
string(REPLACE "-Werror " "-Wno-stringop-overflow " FILE_CONTENTS_FLAT "${FILE_CONTENTS_FLAT}")
file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/external/flatbuffers/CMakeLists.txt" "${FILE_CONTENTS_FLAT}")
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13.0)
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/external/flatbuffers/CMakeLists.txt" FILE_CONTENTS_FLAT)
string(REPLACE "-Werror " "-Wno-stringop-overflow " FILE_CONTENTS_FLAT "${FILE_CONTENTS_FLAT}")
file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/external/flatbuffers/CMakeLists.txt" "${FILE_CONTENTS_FLAT}")
endif()

add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/external/flatbuffers)

Expand Down

0 comments on commit 55c7d4f

Please sign in to comment.