summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-02-10 08:14:41 +0100
committermjkwiatkowski <mati.rewa@gmail.com>2026-02-10 08:14:41 +0100
commit4d37bbed4a1f745c331ba996fc860d79e3e51e8f (patch)
tree69d4e530f1f5a5192f98bb422d46618afb291c23 /.github/workflows/build.yml
parent7a078fac132d10933e52edafd0f2527c50c9b1b6 (diff)
feat: added the entry point to experiment listenerHEADmaster
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml93
1 files changed, 0 insertions, 93 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
deleted file mode 100644
index 2ad559ce..00000000
--- a/.github/workflows/build.yml
+++ /dev/null
@@ -1,93 +0,0 @@
-name: Build
-
-on:
- pull_request:
- branches: [ master ]
- push:
- branches: [ master ]
- merge_group:
-
-jobs:
- build:
- name: Build (Java ${{ matrix.java }} - ${{ matrix.os }})
- runs-on: ${{ matrix.os }}
- strategy:
- matrix:
- os: [ ubuntu-22.04 ]
- java: [ 21 ]
- include:
- - os: windows-2022
- java: 21
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- - name: Validate Gradle wrapper
- uses: gradle/actions/wrapper-validation@v3
- - name: Set up JDK
- uses: actions/setup-java@v4
- with:
- distribution: 'zulu'
- java-version: ${{ matrix.java }}
- - name: Set up Python
- uses: actions/setup-python@v5
- with:
- python-version: '3.x'
-
- - name: Install M3SA Python requirements
- run: pip install -r opendc-experiments/opendc-experiments-m3sa/src/main/python/requirements.txt
- - name: Build with Gradle
- uses: gradle/actions/setup-gradle@v3
- with:
- arguments: build assembleDist codeCoverageReport
- # Only write to the cache for builds on the 'master' branch.
- # Builds on other branches will only read existing entries from the cache.
- cache-read-only: ${{ github.ref != 'refs/heads/master' }}
- - name: Publish report
- if: always()
- uses: mikepenz/action-junit-report@v5
- with:
- check_name: test (Java ${{ matrix.java }})
- report_paths: '**/build/test-results/test/TEST-*.xml'
- github_token: ${{ secrets.GITHUB_TOKEN }}
- - name: Upload reports
- if: always()
- continue-on-error: true # See https://github.com/actions/upload-artifact/issues/270
- uses: actions/upload-artifact@v4
- with:
- name: reports-${{ matrix.os }}-jdk${{ matrix.java }}
- path: |
- ./**/build/reports/**/*
- ./**/build/test-results/**/*
- retention-days: 5
- - name: Upload build
- continue-on-error: true
- uses: actions/upload-artifact@v4
- with:
- name: build-${{ matrix.os }}-jdk${{ matrix.java }}
- path: |
- ./**/build/distributions/**/*.zip
- retention-days: 5
- - name: Upload code coverage
- uses: codecov/codecov-action@v5
- with:
- token: ${{ secrets.CODECOV_TOKEN }}
- files: ./build/reports/jacoco/codeCoverageReport/codeCoverageReport.xml
- build-docker:
- name: Build Docker Images
- runs-on: ubuntu-22.04
- steps:
- - name: Checkout repository
- uses: actions/checkout@v4
- - name: Build UI
- uses: docker/build-push-action@v6
- with:
- context: opendc-web/opendc-web-ui
- file: opendc-web/opendc-web-ui/Dockerfile
- - name: Build Web Server
- uses: docker/build-push-action@v6
- with:
- file: opendc-web/opendc-web-server/Dockerfile
- - name: Build Runner
- uses: docker/build-push-action@v6
- with:
- file: opendc-web/opendc-web-runner/Dockerfile