Skip to content

Commit

Permalink
Merge branch 'master' into ni-demos-refactoring-8
Browse files Browse the repository at this point in the history
  • Loading branch information
olyagpl authored Dec 13, 2024
2 parents 2d6d1ef + 1db1c68 commit 531d93c
Show file tree
Hide file tree
Showing 166 changed files with 1,857 additions and 2,062 deletions.
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: native-google-cloud-run
name: clouds/native-aws-fargate
on:
push:
paths:
- 'native-google-cloud-run/**'
- '.github/workflows/native-google-cloud-run.yml'
- 'clouds/native-aws-fargate/**'
- '.github/workflows/clouds-native-aws-fargate.yml'
pull_request:
paths:
- 'native-google-cloud-run/**'
- '.github/workflows/native-google-cloud-run.yml'
- 'clouds/native-aws-fargate/**'
- '.github/workflows/clouds-native-aws-fargate.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-google-cloud-run'
name: Run 'clouds/native-aws-fargate'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '17.0.7'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-google-cloud-run'
- name: Run 'clouds/native-aws-fargate'
run: |
cd native-google-cloud-run
cd clouds/native-aws-fargate
./mvnw package -Dpackaging=docker-native
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
name: native-aws-lambda
name: clouds/native-aws-lambda
on:
push:
paths:
- 'native-aws-lambda/**'
- '.github/workflows/native-aws-lambda.yml'
- 'clouds/native-aws-lambda/**'
- '.github/workflows/clouds-native-aws-lambda.yml'
pull_request:
paths:
- 'native-aws-lambda/**'
- '.github/workflows/nativeaws-lambda.yml'
- 'clouds/native-aws-lambda/**'
- '.github/workflows/clouds-native-aws-lambda.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-aws-lambda'
name: Run 'clouds/native-aws-lambda'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '17.0.7'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-aws-lambda java'
- name: Run 'clouds/native-aws-lambda java'
run: |
cd native-aws-lambda
cd clouds/native-aws-lambda
./mvnw package
- name: Run 'native-aws-lambda native image'
- name: Run 'clouds/native-aws-lambda native image'
run: |
cd native-aws-lambda
cd clouds/native-aws-lambda
./mvnw package -Dpackaging=docker-native
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: native-aws-fargate
name: clouds/native-google-cloud-run
on:
push:
paths:
- 'native-aws-fargate/**'
- '.github/workflows/native-aws-fargate.yml'
- 'clouds/native-google-cloud-run/**'
- '.github/workflows/clouds-native-google-cloud-run.yml'
pull_request:
paths:
- 'native-aws-fargate/**'
- '.github/workflows/native-aws-fargate.yml'
- 'clouds/native-google-cloud-run/**'
- '.github/workflows/clouds-native-google-cloud-run.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-aws-fargate'
name: Run 'clouds/native-google-cloud-run'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '17.0.7'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-aws-fargate'
- name: Run 'clouds/native-google-cloud-run'
run: |
cd native-aws-fargate
cd clouds/native-google-cloud-run
./mvnw package -Dpackaging=docker-native
31 changes: 31 additions & 0 deletions .github/workflows/clouds-native-oci-container-instances.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: clouds/native-oci-container-instances
on:
push:
paths:
- 'clouds/native-oci-container-instances/**'
- '.github/workflows/clouds-native-oci-container-instances.yml'
pull_request:
paths:
- 'clouds/native-oci-container-instances/**'
- '.github/workflows/clouds-native-oci-container-instances.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'clouds/native-oci-container-instances'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'clouds/native-oci-container-instances'
run: |
cd clouds/native-oci-container-instances
./mvnw package -Dpackaging=docker-native
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: native-oci-generative-ai
name: clouds/native-oci-generative-ai
on:
push:
paths:
- 'native-oci-generative-ai/**'
- '.github/workflows/native-oci-generative-ai.yml'
- 'clouds/native-oci-generative-ai/**'
- '.github/workflows/clouds-native-oci-generative-ai.yml'
pull_request:
paths:
- 'native-oci-generative-ai/**'
- '.github/workflows/native-oci-generative-ai.yml'
- 'clouds/native-oci-generative-ai/**'
- '.github/workflows/clouds-native-oci-generative-ai.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-oci-generative-ai'
name: Run 'clouds/native-oci-generative-ai'
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21.0.3'
java-version: '21'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run 'native-oci-generative-ai'
run: |
cd native-oci-generative-ai
cd clouds/native-oci-generative-ai
mvn --batch-mode clean package -Pnative
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: spring-native-image
name: native-image/containerize
on:
push:
paths:
- 'spring-native-image/**'
- '.github/workflows/spring-native-image.yml'
- 'native-image/containerize/**'
- '.github/workflows/native-image-containerize.yml'
pull_request:
paths:
- 'spring-native-image/**'
- '.github/workflows/spring-native-image.yml'
- 'native-image/containerize/**'
- '.github/workflows/native-image-containerize.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'spring-native-graal'
name: Run 'native-image/containerize'
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
java-version: ['21', 'dev']
java-version: ['21', '24-ea']
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
Expand All @@ -30,9 +30,9 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
native-image-job-reports: 'true'
- name: Run 'spring-native-image'
- name: Run 'native-image/containerize'
run: |
cd spring-native-image
cd native-image/containerize
mvn --no-transfer-progress package
mvn --no-transfer-progress native:compile -Pnative
./target/benchmark-jibber &
Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: java-kotlin-aot
name: native-image/hello-world
on:
push:
paths:
- 'java-kotlin-aot/**'
- '.github/workflows/java-kotlin-aot.yml'
- 'native-image/hello-world/**'
- '.github/workflows/native-image-hello-world.yml.yml'
pull_request:
paths:
- 'java-kotlin-aot/**'
- '.github/workflows/java-kotlin-aot.yml'
- 'native-image/hello-world/**'
- '.github/workflows/native-image-hello-world.yml.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'java-kotlin-aot'
name: Run 'native-image/hello-world'
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
java-version: ['21', 'dev']
java-version: ['21', '24-ea']
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
Expand All @@ -29,8 +29,7 @@ jobs:
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Run 'java-kotlin-aot'
- name: Run 'native-image/hello-world'
run: |
cd java-kotlin-aot
./build.sh
./run.sh
cd native-image/hello-world
./run.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: native-list-dir
name: native-image/include-metadata
on:
push:
paths:
- 'native-list-dir/**'
- '.github/workflows/native-list-dir.yml'
- 'native-image/include-metadata/**'
- '.github/workflows/native-image-include-metadata.yml'
pull_request:
paths:
- 'native-list-dir/**'
- '.github/workflows/native-list-dir.yml'
- 'native-image/include-metadata/**'
- '.github/workflows/native-image-include-metadata.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-list-dir'
name: Run 'native-image/include-metadata
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
Expand All @@ -26,7 +26,7 @@ jobs:
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Run 'native-list-dir'
- name: Run 'native-image/include-metadata'
run: |
cd native-list-dir
./build.sh
cd native-image/include-metadata
./run.sh
35 changes: 35 additions & 0 deletions .github/workflows/native-image-list-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: native-image/list-files
on:
push:
paths:
- 'native-image/list-files/**'
- '.github/workflows/native-image-list-files.yml'
pull_request:
paths:
- 'native-image/list-files/**'
- '.github/workflows/native-image-list-files.yml'
schedule:
- cron: "0 0 1 * *" # run every month
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: Run 'native-image/list-files'
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
java-version: ['21', '24-ea']
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ matrix.java-version }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Run 'native-image/list-files'
run: |
cd native-image/list-files
./run.sh
Loading

0 comments on commit 531d93c

Please sign in to comment.