Bump com.google.protobuf:protobuf-java from 3.21.12 to 3.25.5 #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Protobuf Conformance Tests | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main, develop ] | |
workflow_dispatch: | |
inputs: | |
jobs: | |
conformance: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: graalvm/setup-graalvm@v1 | |
with: | |
version: 'latest' | |
java-version: '21' | |
set-java-home: 'true' | |
components: 'native-image' | |
cache: '' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build protoc plugins | |
run: mvn clean package --projects protoc-gen-request,protoc-gen-quickbuf -am -PmakeNative,useNative | |
- name: Build conformance executable | |
run: | | |
mvn clean package --projects quickbuf-runtime,quickbuf-compat,conformance -am -PmakeNative,useNative | |
chmod +x conformance/target/ConformanceQuickbuf.exe | |
- name: Conformance 3.20.2 | |
run: | | |
# download pre-built binary because the tester takes 20+ minutes to compile | |
wget -O conformance_test_runner https://github.com/HebiRobotics/QuickBuffers/releases/download/1.0-rc1/protoc_conformance_test_runner-3.20.2-linux-x86_64.exe | |
chmod +x conformance_test_runner | |
./conformance_test_runner --enforce_recommended conformance/target/ConformanceQuickbuf.exe | |
- name: Conformance 3.21.4 | |
run: | | |
# download pre-built binary because the tester takes 20+ minutes to compile | |
wget -O conformance_test_runner https://github.com/HebiRobotics/QuickBuffers/releases/download/1.0-rc1/protoc_conformance_test_runner-3.21.4.0-linux-x86_64.exe | |
sudo wget -O /usr/lib/libjsoncpp.so.24 https://github.com/HebiRobotics/QuickBuffers/releases/download/1.0-rc1/libjsoncpp.so.1.9.4 | |
chmod +x conformance_test_runner | |
./conformance_test_runner --enforce_recommended conformance/target/ConformanceQuickbuf.exe |