eliminate the race that occurs between writing data to wire and setti… #2336
Workflow file for this run
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: Tsubakuro-CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
Build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-22.04, ubuntu-24.04] | |
runs-on: ${{ matrix.os }} | |
permissions: | |
checks: write | |
timeout-minutes: 30 | |
defaults: | |
run: | |
shell: bash | |
env: | |
JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 | |
steps: | |
- name: Setup_Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Apt_Install | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y git build-essential cmake libboost-system-dev | |
- name: Assemble | |
run: | | |
./gradlew -i clean assemble --warning-mode all | |
- name: Check | |
run: | | |
./gradlew -i check --continue --warning-mode all | |
- name: Verify | |
uses: project-tsurugi/tsurugi-annotations-action@v1 | |
if: always() | |
with: | |
junit_input: '**/build/test-results/**/TEST-*.xml' | |
junit_test_src_dir: 'src/test/java' | |
spotbugs_input: '**/build/reports/spotbugs/main/*.xml' | |
checkstyle_input: '**/build/reports/checkstyle/main.xml' | |
Publish: | |
uses: ./.github/workflows/ci-publish.yml | |
if: github.repository_owner == 'project-tsurugi' && (contains(github.ref, '/tags/') || contains(github.ref, '/heads/master')) | |
needs: Build | |
secrets: inherit |