Skip to content

Commit 33e41e7

Browse files
committed
Update CI workflow to not run monthly; Remove demo entry from top-level README
1 parent be37153 commit 33e41e7

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,36 @@
1-
name: native-image-configure-examples
1+
name: archive/class-initialization-examples
22
on:
33
push:
44
paths:
5-
- 'native-image-configure-examples/**'
6-
- '.github/workflows/native-image-configure-examples.yml'
5+
- 'archive/class-initialization-examples/**'
6+
- '.github/workflows/archive-class-initialization-examples.yml'
77
pull_request:
88
paths:
9-
- 'native-image-configure-examples/**'
10-
- '.github/workflows/native-image-configure-examples.yml'
11-
schedule:
12-
- cron: "0 0 1 * *" # run every month
9+
- 'archive/class-initialization-examples/**'
10+
- '.github/workflows/archive-class-initialization-examples.yml'
1311
workflow_dispatch:
1412
permissions:
1513
contents: read
1614
jobs:
1715
run:
18-
name: Run 'native-image-configure-examples'
16+
name: Run 'archive/class-initialization-examples'
1917
runs-on: ubuntu-latest
2018
timeout-minutes: 15
21-
strategy:
22-
matrix:
23-
java-version: ['21', 'latest-ea']
2419
steps:
2520
- uses: actions/checkout@v4
2621
- uses: graalvm/setup-graalvm@v1
2722
with:
28-
java-version: ${{ matrix.java-version }}
23+
java-version: '21'
2924
distribution: 'graalvm'
3025
github-token: ${{ secrets.GITHUB_TOKEN }}
3126
cache: 'maven'
3227
- name: Run 'configure-at-runtime-example'
3328
run: |
34-
cd native-image-configure-examples/configure-at-runtime-example
29+
cd archive/class-initialization-examples/configure-at-runtime-example
3530
mvn --no-transfer-progress package
3631
./target/runtime-example
3732
- name: Run 'configure-at-buildtime-example'
3833
run: |
39-
cd native-image-configure-examples/configure-at-buildtime-example
34+
cd archive/class-initialization-examples/configure-at-buildtime-example
4035
mvn --no-transfer-progress package
4136
./target/buildtime-example

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ cd graalvm-demos
4848
<td align="left" width="70%">Demonstrates how the Graal compiler can achieve better performance for highly abstracted programs like those using Streams, Lambdas<br><strong>Technologies: </strong>Graal compiler, C2<br><strong>Reference: </strong><a href="https://luna.oracle.com/lab/d502417b-df66-45be-9fed-a3ac8e3f09b1/steps#task-2-run-demos-java-microbenchmark-harness-jmh">Simple Java Stream Benchmark</a></td>
4949
</tr>
5050
<tr>
51-
<td align="left" width="30%"><a href="/native-image-configure-examples/">native-image-configure-examples</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/streams.yml"><img alt="streams" src="https://github.com/graalvm/graalvm-demos/actions/workflows/streams.yml/badge.svg" /></a></td>
52-
<td align="left" width="70%">Demonstrates how you can influence the classes initialization at the image build time<br><strong>Technologies: </strong>Native Image, Maven<br><strong>Reference: </strong><a href="https://medium.com/graalvm/understanding-class-initialization-in-graalvm-native-image-generation-d765b7e4d6ed">Understanding Class Initialization in GraalVM Native Image Generation</a></td>
51+
<td align="left" width="30%"><a href="/multithreading-demo/">multithreading-demo</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/streams.yml"><img alt="streams" src="https://github.com/graalvm/graalvm-demos/actions/workflows/streams.yml/badge.svg" /></a></td>
52+
<td align="left" width="70%">Demonstrates how to optimize a Java application that does synchronous and asynchronous threads execution<br><strong>Technologies: </strong>Native Image Build Reports, Native Build Tools Maven plugin <br><strong>Reference: </strong><a href="https://medium.com/graalvm/making-sense-of-native-image-contents-741a688dab4d">Making sense of Native Image contents</a></td>
5353
</tr>
5454
<tr>
5555
<td align="left" width="30%"><a href="/native-netty-plot/">native-netty-plot</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-netty-plot.yml"><img alt="native-netty-plot" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-netty-plot.yml/badge.svg" /></a></td>

0 commit comments

Comments
 (0)