-
Notifications
You must be signed in to change notification settings - Fork 51
32 lines (30 loc) · 876 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 @build