martinzink commented on code in PR #1623: URL: https://github.com/apache/nifi-minifi-cpp/pull/1623#discussion_r1281765596
########## .github/workflows/gcc13-compat.yml: ########## @@ -0,0 +1,54 @@ +name: "MiNiFi-CPP verify gcc13 compatibility" +on: [workflow_dispatch] +env: + DOCKER_CMAKE_FLAGS: -DDOCKER_VERIFY_THREAD=3 -DUSE_SHARED_LIBS= -DSTRICT_GSL_CHECKS=AUDIT -DCI_BUILD=ON -DDISABLE_JEMALLOC=ON -DENABLE_AWS=ON -DENABLE_LIBRDKAFKA=ON -DENABLE_MQTT=ON -DENABLE_AZURE=ON -DENABLE_SQL=ON \ + -DENABLE_SPLUNK=ON -DENABLE_GCP=ON -DENABLE_OPC=ON -DENABLE_PYTHON_SCRIPTING=ON -DENABLE_LUA_SCRIPTING=ON -DENABLE_KUBERNETES=ON -DENABLE_TEST_PROCESSORS=ON -DENABLE_PROMETHEUS=ON \ + -DENABLE_ELASTICSEARCH=OFF -DDOCKER_BUILD_ONLY=ON -DDOCKER_CCACHE_DUMP_LOCATION=$HOME/.ccache + SCCACHE_GHA_ENABLE: true +jobs: + ubuntu_22_04: + name: "ubuntu-22.04-gcc-13" + runs-on: ubuntu-22.04 + timeout-minutes: 120 + steps: + - id: checkout + uses: actions/checkout@v3 + - id: install_deps + run: | + sudo apt update + sudo apt install -y ccache libfl-dev libpcap-dev libboost-all-dev openjdk-8-jdk maven libusb-1.0-0-dev libpng-dev libgps-dev libsqliteodbc lua5.3 liblua5.3-dev flake8 parallel + echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV + echo -e "127.0.0.1\t$HOSTNAME" | sudo tee -a /etc/hosts > /dev/null + - name: build + run: | + eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" + brew install gcc@13 + export CC=gcc-13 + export CXX=g++-13 + ./bootstrap.sh -e -t + cd build + cmake -DUSE_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCI_BUILD=ON -DSTRICT_GSL_CHECKS=AUDIT -DFAIL_ON_WARNINGS=ON -DENABLE_AWS=ON -DENABLE_AZURE=ON -DENABLE_BUSTACHE=ON -DENABLE_COAP=ON \ Review Comment: I reckon we wont run this too frequently and #1603 is merged, we could replace this long list with a simple ENABLE_ALL ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org