Skip to content

Commit 6c2c182

Browse files
committed
Update CI workflow to not run monthly; Remove demo entry from top-level README
1 parent bbdb6e2 commit 6c2c182

File tree

5 files changed

+13
-25
lines changed

5 files changed

+13
-25
lines changed
Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,33 @@
1-
name: native-netty-plot
1+
name: archive/native-netty-plot
22
on:
33
push:
44
paths:
5-
- 'native-netty-plot/**'
6-
- '.github/workflows/native-netty-plot.yml'
5+
- 'archive/native-netty-plot/**'
6+
- '.github/workflows/archive-native-netty-plot.yml'
77
pull_request:
88
paths:
9-
- 'native-netty-plot/**'
10-
- '.github/workflows/native-netty-plot.yml'
11-
schedule:
12-
- cron: "0 0 1 * *" # run every month
9+
- 'archive/native-netty-plot/**'
10+
- '.github/workflows/archive-native-netty-plot.yml'
1311
workflow_dispatch:
1412
permissions:
1513
contents: read
1614
jobs:
1715
run:
18-
name: Run 'native-netty-plot'
16+
name: Run 'archive/native-netty-plot'
1917
runs-on: ubuntu-latest
2018
timeout-minutes: 20
21-
strategy:
22-
matrix:
23-
java-version: ['21', 'dev']
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
native-image-job-reports: 'true'
33-
- name: Run 'native-netty-plot'
28+
- name: Run 'archive/native-netty-plot'
3429
run: |
35-
cd native-netty-plot
30+
cd archive/native-netty-plot
3631
mvn --no-transfer-progress package
3732
java -agentlib:native-image-agent=config-output-dir=src/main/resources/META-INF/native-image/com.oracle.substratevm/netty-plot -jar target/netty-plot-0.1-jar-with-dependencies.jar &
3833
pid=$!
@@ -46,4 +41,4 @@ jobs:
4641
du -h netty-plot
4742
./netty-plot &
4843
sleep 10
49-
curl http://localhost:8080/
44+
curlhttp://127.0.0.1:8080/

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ cd graalvm-demos
5555
<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>
5656
<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>
5757
</tr>
58-
<tr>
59-
<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>
60-
<td align="left" width="70%">A web server application, using the Netty framework, to demonstrate the use of isolates with Native Image<br><strong>Technologies: </strong>Native Image, Maven, Netty<br><strong>Reference: </strong><a href="https://medium.com/graalvm/instant-netty-startup-using-graalvm-native-image-generation-ed6f14ff7692">Instant Netty Startup using GraalVM Native Image Generation</a></td>
61-
</tr>
6258
<tr>
6359
<td align="left" width="30%"><a href="/javagdbnative/">javagdbnative</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/javagdbnative.yml"><img alt="javagdbnative" src="https://github.com/graalvm/graalvm-demos/actions/workflows/javagdbnative.yml/badge.svg" /></a></td>
6460
<td align="left" width="70%">Demonstrates how to debug a Java application, built into a native executable in VS Code<br><strong>Technologies: </strong>Native Image, Maven, GraalVM Tools for Java<br><strong>Reference: </strong><a href="https://medium.com/graalvm/native-image-debugging-in-vs-code-2d5dda1989c1">Native Image Debugging in VS Code</a></td>
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
21
target/
3-
netty-plot
4-
2+
netty-plot

archive/native-netty-plot/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ The _reflect-config.json_ file specifies classes which must be available via Jav
5959
```
6060
The result is an executable file that is around 22 MByte in size:
6161
```bash
62-
du -h netty-plot
63-
22M netty-plot
62+
du -h target/netty-plot
6463
```
6564

6665
4. You can now run the executable:

archive/native-netty-plot/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
</execution>
5858
</executions>
5959
<configuration>
60-
<imageName>${imageName}</imageName>
60+
<imageName>${ImageName}</imageName>
6161
<fallback>false</fallback>
6262
<buildArgs>
6363
<buildArg>--no-fallback</buildArg>

0 commit comments

Comments
 (0)