Add clean program #809
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: Continuous Integration | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ '*' ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check out repository' | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: 'List all -info.java files' | |
run: find | grep \\-info.java | sort | |
- name: 'Set up Java' | |
uses: oracle-actions/setup-java@v1 | |
with: | |
website: jdk.java.net | |
release: 22 | |
- name: 'Print various versions' | |
run: | | |
java @bach jar --version | |
java @bach jfr --version | |
java @bach https://raw.githubusercontent.com/openjdk/jdk/jdk-22-ga/test/jdk/java/lang/System/Versions.java | |
java .bach/src/run.bach/run/Versions.java | |
- name: 'Build Bach with Bach' | |
run: java .bach/src/run.bach/run/Build.java | |
- name: 'Start Bach''s Tests' | |
run: java .bach/src/run.bach/run/Test.java |