Skip to content

Commit 0a96b10

Browse files
committed
Subdirectories of the workflows directory are not supported
1 parent 62a44fa commit 0a96b10

12 files changed

+27
-30
lines changed

.github/workflows/native-image/access-environment-variables.yml renamed to .github/workflows/native-image-access-environment-variables.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/access-environment-variables/**'
6-
- '.github/workflows/native-image/access-environment-variables.yml'
6+
- '.github/workflows/native-image-access-environment-variables.yml'
77
pull_request:
88
paths:
99
- 'native-image/access-environment-variables/**'
10-
- '.github/workflows/native-image/access-environment-variables.yml'
10+
- '.github/workflows/native-image-access-environment-variables.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/add-jfr.yml renamed to .github/workflows/native-image-add-jfr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/add-jfr/**'
6-
- '.github/workflows/native-image/add-jfr.yml'
6+
- '.github/workflows/native-image-add-jfr.yml'
77
pull_request:
88
paths:
99
- 'native-image/add-jfr/**'
10-
- '.github/workflows/native-image/add-jfr.yml'
10+
- '.github/workflows/native-image-add-jfr.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/add-jmx.yml renamed to .github/workflows/native-image-add-jmx.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/add-jmx/**'
6-
- '.github/workflows/native-image/add-jmx.yml'
6+
- '.github/workflows/native-image-add-jmx.yml'
77
pull_request:
88
paths:
99
- 'native-image/add-jmx/**'
10-
- '.github/workflows/native-image/add-jmx.yml'
10+
- '.github/workflows/native-image-add-jmx.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/add-logging.yml renamed to .github/workflows/native-image-add-logging.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/add-logging/**'
6-
- '.github/workflows/native-image/add-logging.yml'
6+
- '.github/workflows/native-image-add-logging.yml'
77
pull_request:
88
paths:
99
- 'native-image/add-logging/**'
10-
- '.github/workflows/native-image/add-logging.yml'
10+
- '.github/workflows/native-image-add-logging.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/build-from-jar.yml renamed to .github/workflows/native-image-build-from-jar.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/build-from-jar/**'
6-
- '.github/workflows/native-image/build-from-jar.yml'
6+
- '.github/workflows/native-image-build-from-jar.yml'
77
pull_request:
88
paths:
99
- 'native-image/build-from-jar/**'
10-
- '.github/workflows/native-image/build-from-jar.yml'
10+
- '.github/workflows/native-image-build-from-jar.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/build-java-modules.yml renamed to .github/workflows/native-image-build-java-modules.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/build-java-modules/**'
6-
- '.github/workflows/native-image/build-java-modules.yml'
6+
- '.github/workflows/native-image-build-java-modules.yml'
77
pull_request:
88
paths:
99
- 'native-image/build-java-modules/**'
10-
- '.github/workflows/native-image-build/java-modules.yml'
10+
- '.github/workflows/native-image-build-java-modules.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/build-shared-library.yml renamed to .github/workflows/native-image-build-shared-library.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/build-shared-library/**'
6-
- '.github/workflows/native-image/build-shared-library.yml'
6+
- '.github/workflows/native-image-build-shared-library.yml'
77
pull_request:
88
paths:
99
- 'native-image/build-shared-library/**'
10-
- '.github/workflows/native-image/build-shared-library.yml'
10+
- '.github/workflows/native-image-build-shared-library.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/build-static-images.yml renamed to .github/workflows/native-image-build-static-images.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/build-static-images/**'
6-
- '.github/workflows/native-image/build-static-images.yml'
6+
- '.github/workflows/native-image-build-static-images.yml'
77
pull_request:
88
paths:
99
- 'native-image/build-static-images/**'
10-
- '.github/workflows/native-image/build-static-images.yml'
10+
- '.github/workflows/native-image-build-static-images.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/build-with-js-embedded.yml renamed to .github/workflows/native-image-build-with-js-embedded.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/build-with-js-embedded/**'
6-
- '.github/workflows/native-image/build-with-js-embedded.yml'
6+
- '.github/workflows/native-image-build-with-js-embedded.yml'
77
pull_request:
88
paths:
99
- 'native-image/build-with-js-embedded/**'
10-
- '.github/workflows/native-image/build-with-js-embedded.yml'
10+
- '.github/workflows/native-image-build-with-js-embedded.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

.github/workflows/native-image/configure-with-tracing-agent.yml renamed to .github/workflows/native-image-configure-with-tracing-agent.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ on:
33
push:
44
paths:
55
- 'native-image/configure-with-tracing-agent/**'
6-
- '.github/workflows/native-image/configure-with-tracing-agent.yml'
6+
- '.github/workflows/native-image-configure-with-tracing-agent.yml'
77
pull_request:
88
paths:
99
- 'native-image/configure-with-tracing-agent/**'
10-
- '.github/workflows/native-image/configure-with-tracing-agent.yml'
10+
- '.github/workflows/native-image-configure-with-tracing-agent.yml'
1111
schedule:
1212
- cron: "0 0 1 * *" # run every month
1313
workflow_dispatch:

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cd graalvm-demos
3636
<td align="left" width="70%">Demonstrates how to generate a native executable using the Native Build Tools Maven plugin <br><strong>Technologies: </strong>Native Image, Native Build Tools Maven plugin<br><strong>Reference: </strong><a href="https://docs.oracle.com/en/graalvm/jdk/21/docs/getting-started/oci/code-editor/">Oracle GraalVM in OCI Code Editor</a></td>
3737
</tr>
3838
<tr>
39-
<td align="left" width="30%"><a href="/native-image/build-java-modules/">native-image/build-java-modules</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/build-java-modules.yml"><img alt="build-java-modules" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/build-java-modules.yml/badge.svg" /></a></td>
39+
<td align="left" width="30%"><a href="/native-image/build-java-modules/">native-image/build-java-modules</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-build-java-modules.yml"><img alt="build-java-modules" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-build-java-modules.yml/badge.svg" /></a></td>
4040
<td align="left" width="70%">Demonstrates how to build a modular Java application into a native executable<br><strong>Technologies: </strong>Native Image, Maven<br><strong>Reference: </strong><a href="https://www.graalvm.org/dev/reference-manual/native-image/guides/build-java-modules-into-native-executable/">Build Java Modules into a Native Executable</a></td>
4141
</tr>
4242
<tr>
@@ -72,31 +72,31 @@ cd graalvm-demos
7272
<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>
7373
</tr>
7474
<tr>
75-
<td align="left" width="30%"><a href="/native-image/add-logging/">native-image/add-logging</a><br><a href="https://github.com/graalvm/graalvm-demos/blob/ni-logging-demo/.github/workflows/native-image/add-logging.yml"><img alt="add-logging" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/add-logging.yml/badge.svg" /></a></td>
75+
<td align="left" width="30%"><a href="/native-image/add-logging/">native-image/add-logging</a><br><a href="https://github.com/graalvm/graalvm-demos/blob/ni-logging-demo/.github/workflows/native-image-add-logging.yml"><img alt="add-logging" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-add-logging.yml/badge.svg" /></a></td>
7676
<td align="left" width="70%">Demonstrates how to initialize Loggers with Native Image at the executable build or run time<br><strong>Technologies: </strong> Native Image<br><strong>Reference: </strong><a href="https://www.graalvm.org/latest/reference-manual/native-image/guides/add-logging-to-native-executable/">Add Logging to a Native Executable</a></td>
7777
</tr>
7878
<tr>
79-
<td align="left" width="30%"><a href="/native-image/add-jfr/">native-image/add-jfr</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/ni-native-executable-jfr-demo/.github/workflows/native-image/add-jfr.yml"><img alt="add-jfr" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/add-jfr.yml/badge.svg"/></a></td>
79+
<td align="left" width="30%"><a href="/native-image/add-jfr/">native-image/add-jfr</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/ni-native-executable-jfr-demo/.github/workflows/native-image-add-jfr.yml"><img alt="add-jfr" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-add-jfr.yml/badge.svg"/></a></td>
8080
<td align="left" width="70%">Demonstrates how to create a custom JDK Flight Recorder (JFR) event and use that in a native executable<br><strong>Technologies: </strong> Native Image, JFR, VisualVM <br><strong>Reference: </strong><a href="https://www.graalvm.org/latest/reference-manual/native-image/guides/build-and-run-native-executable-with-jfr/">Build and Run Native Executables with JFR</a></td>
8181
</tr>
8282
<tr>
83-
<td align="left" width="30%"><a href="/native-image/build-shared-library/">native-image/build-shared-library</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/build-shared-library.yml"><img alt="build-shared-library" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/build-shared-library.yml/badge.svg"/></a></td>
83+
<td align="left" width="30%"><a href="/native-image/build-shared-library/">native-image/build-shared-library</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-build-shared-library.yml"><img alt="build-shared-library" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-build-shared-library.yml/badge.svg"/></a></td>
8484
<td align="left" width="70%">Demonstrates how to create a Java class library, use Native Image to create a native shared library, and then create a small C application that uses that shared library<br><strong>Technologies: </strong> Native Image, LLVM toolchain <br><strong>Reference: </strong><a href="https://www.graalvm.org/latest/reference-manual/native-image/guides/build-native-shared-library/">Build a Native Shared Library</a></td>
8585
</tr>
8686
<tr>
87-
<td align="left" width="30%"><a href="/native-image/configure-with-tracing-agent/">native-image/configure-with-tracing-agent</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/configure-with-tracing-agent.yml"><img alt="configure-with-tracing-agent" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/configure-with-tracing-agent.yml/badge.svg"/></a></td>
87+
<td align="left" width="30%"><a href="/native-image/configure-with-tracing-agent/">native-image/configure-with-tracing-agent</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-configure-with-tracing-agent.yml"><img alt="configure-with-tracing-agent" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-configure-with-tracing-agent.yml/badge.svg"/></a></td>
8888
<td align="left" width="70%">Demonstrates how to provide metadata for Native Image in the form of JSON configuration files using a tracing agent<br><strong>Technologies: </strong> Native Image</td>
8989
</tr>
9090
<tr>
91-
<td align="left" width="30%"><a href="/native-image/build-static-images/">native-image/build-static-images</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/build-static-images.yml"><img alt="build-static-images" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/build-static-images.yml/badge.svg"/></a></td>
91+
<td align="left" width="30%"><a href="/native-image/build-static-images/">native-image/build-static-images</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-build-static-images.yml"><img alt="build-static-images" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-build-static-images.yml/badge.svg"/></a></td>
9292
<td align="left" width="70%">Demonstrates how to build a fully static and a mostly-static native executable.<br><strong>Technologies: </strong> Native Image <br><strong>Reference: </strong><a href="https://www.graalvm.org/latest/reference-manual/native-image/guides/build-static-executables/">Build a Statically Linked or Mostly-Statically Linked Native Executable</a></td>
9393
</tr>
9494
<tr>
9595
<td align="left" width="30%"><a href="/native-heapdump-examples/">native-heapdump-examples</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-heapdump-examples.yml"><img alt="native-heapdump-examples" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-heapdump-examples.yml/badge.svg"/></a></td>
9696
<td align="left" width="70%">Demonstrates different ways to generate a heap dump from a running native executable.<br><strong>Technologies: </strong> Native Image, VisualVM <br><strong>Reference: </strong><a href="https://www.graalvm.org/latest/reference-manual/native-image/guides/create-heap-dump/">Create a Heap Dump from a Native Executable</a></td>
9797
</tr>
9898
<tr>
99-
<td align="left" width="30%"><a href="/native-image/add-jmx/">native-image/add-jmx</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/add-jmx.yml"><img alt="add-jmx" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image/add-jmx.yml/badge.svg"/></a></td>
99+
<td align="left" width="30%"><a href="/native-image/add-jmx/">native-image/add-jmx</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-add-jmx.yml"><img alt="add-jmx" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-add-jmx.yml/badge.svg"/></a></td>
100100
<td align="left" width="70%">This demo covers the steps required to build, run, and interact with a native executable using JMX.<br><strong>Technologies: </strong> Native Image, JMX, VisualVM <br><strong>Reference: </strong><a href="https://www.graalvm.org/dev/reference-manual/native-image/guides/build-and-run-native-executable-with-remote-jmx/">Build and Run Native Executables with Remote JMX</a></td>
101101
</tr>
102102
</tbody>

native-image/configure-with-tracing-agent/run.sh

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ set -ex
44
javac ReflectionExample.java
55
java ReflectionExample StringReverser reverse "hello"
66
java ReflectionExample StringCapitalizer capitalize "hello"
7-
native-image -Ob ReflectionExample
8-
./reflectionexample StringReverser reverse "hello"
9-
./reflectionexample StringCapitalizer capitalize "hello"
107
mkdir -p META-INF/native-image
118
java -agentlib:native-image-agent=config-output-dir=META-INF/native-image ReflectionExample StringReverser reverse "hello"
129
java -agentlib:native-image-agent=config-merge-dir=META-INF/native-image ReflectionExample StringCapitalizer capitalize "hello"

0 commit comments

Comments
 (0)