martinzink commented on code in PR #1504:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1504#discussion_r1124783268
##########
.github/workflows/verify-python-compatibility.yml:
##########
@@ -0,0 +1,140 @@
+name: "MiNiFi-CPP Verify Python Compatibility"
+on: [workflow_dispatch]
+jobs:
+ centos-build:
+ name: "Build centos"
+ runs-on: ubuntu-22.04
+ timeout-minutes: 180
+ steps:
+ - id: checkout
+ uses: actions/checkout@v3
+ - id: cache
+ uses: actions/cache@v3
+ with:
+ path: ~/.ccache
+ key: centos-build-with-python-ccache-${{github.ref}}-${{github.sha}}
+ restore-keys: |
+ centos-build-with-python-ccache-${{github.ref}}-
+ centos-build-with-python-ccache-refs/heads/main-
+ - id: install_deps
+ run: |
+ sudo apt update
+ sudo apt install -y ccache cmake
+ echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
+ - id: build
+ run: |
+ if [ -d ~/.ccache ]; then mv ~/.ccache .; fi
+ mkdir build && cd build && cmake -DENABLE_PYTHON_SCRIPTING=ON
-DDOCKER_BUILD_ONLY=ON -DDOCKER_CCACHE_DUMP_LOCATION=$HOME/.ccache .. && make
centos
+ - uses: actions/upload-artifact@v3
+ with:
+ name: minifi-tar
+ path: build/nifi-minifi-cpp-*-bin-centos.tar.gz
+ if-no-files-found: error
+ rocky-linux8:
+ name: "Python tests on Rocky Linux 8"
+ runs-on: ubuntu-20.04
Review Comment:
I've encountered some python dependency issues (required for DockerVerify),
didn't want to investigate so used the config from our normal CI (DockerVerify
uses 20.04 aswell)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]