Bump org.sosy-lab:java-smt from 5.0.1 to 5.0.1-523-g9001c0ea4 #97
Workflow file for this run
This file contains hidden or 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: JVM | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '.github/workflows/build-jvm.yml' | |
- '2015/**' | |
- '2016/**' | |
- '2017/**' | |
- '2018/**' | |
- '2019/**' | |
- '2020/**' | |
- '2021/**' | |
- '2022/**' | |
- '2023/**' | |
- '2024/**' | |
- 'commons/**' | |
jobs: | |
Build-And-Test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
year: [2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get private repo | |
uses: actions/checkout@v4 | |
with: | |
repository: alien11689/advent-of-code | |
ref: master | |
token: ${{ secrets.ADVENT_OF_CODE_PAT}} | |
path: private | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Prepare resources | |
run: | | |
mkdir -p ${{matrix.year}}/src/main/resources | |
cp -r private/${{matrix.year}}/src/main/resources/* ${{matrix.year}}/src/main/resources | |
- name: Run | |
run: | | |
echo '```' > out | |
./runSingle.sh ${{matrix.year}} >> out | |
echo '```' >> out | |
cat out >> "$GITHUB_STEP_SUMMARY" | |
Coverage: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
year: [2024] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Get private repo | |
uses: actions/checkout@v4 | |
with: | |
repository: alien11689/advent-of-code | |
ref: master | |
token: ${{ secrets.ADVENT_OF_CODE_PAT}} | |
path: private | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Prepare resources | |
run: | | |
mkdir -p ${{matrix.year}}/src/main/resources | |
cp -r private/${{matrix.year}}/src/main/resources/* ${{matrix.year}}/src/main/resources | |
- name: Run | |
run: ./mvnw clean test -Pcoverage -am -pl ${{ matrix.year }} | |
- name: Upload coverage | |
uses: codecov/codecov-action@v5 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |