File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ permissions:
2323on :
2424 workflow_dispatch : { }
2525 push :
26- branches : [ '2.3-gae' ]
26+ branches : [ '2.3-gae', '1-freemarker-test-graalvm-native' ]
2727 pull_request :
2828 branches : [ '2.3-gae' ]
2929
5858 - name : Run Build
5959 id : build_step
6060 run : ' ./gradlew "-Pfreemarker.signMethod=none" "-Pfreemarker.allowUnsignedReleaseBuild=true" --continue clean build'
61+ - name : Set up GraalVM 21
62+ uses : actions/setup-java@v4
63+ with :
64+ java-version : 21
65+ distribution : graalvm
66+ # test pipeline to check native support
67+ #
68+ # - GraalVM is added to the runner
69+ # - A simple native project is build and run
70+ #
71+ # At the something like that should be found in the log :
72+ #
73+ # INFO: name : FreeMarker Native Demo, version : 2.3.35-nightly
74+ # Jan 15, 2025 4:28:19 PM freemarker.log._JULLoggerFactory$JULLogger info
75+ # INFO: result :
76+ # <html>
77+ # <head>
78+ # <title>Hello : FreeMarker GraalVM Native Demo</title>
79+ # </head>
80+ # <body>
81+ # <h1>Hello : FreeMarker GraalVM Native Demo</h1>
82+ # <p>Test template for Apache FreeMarker GraalVM native support (2.3.35-nightly)</p>
83+ # </body>
84+ # </html>
85+ - name : Test GraalVM native support (build and run)
86+ id : native_test
87+ run : ' ./gradlew :freemarker-test-graalvm-native:nativeCompile;./freemarker-test-graalvm-native/build/native/nativeCompile/freemarker-test-graalvm-native'
6188 - name : Upload Failed Report
6289 uses : actions/upload-artifact@v4
6390 if : failure() && steps.build_step.outcome == 'failure'
You can’t perform that action at this time.
0 commit comments