Initial round with the new example #92
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Builds | |
| on: [push] | |
| jobs: | |
| run: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true # Fetches all submodules | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'graalvm' # See 'Supported distributions' for available options | |
| java-version: '24' | |
| - name: Maven build | |
| run: cd examples/maven-demo && ./mvnw --batch-mode --no-transfer-progress verify --file pom.xml | |
| - name: Spring Boot build | |
| run: cd examples/spring-boot-demo/implementation && ./mvnw --batch-mode --no-transfer-progress verify -Pjacoco --file pom.xml | |
| - name: Spring Boot startup and API test | |
| run: | | |
| cd examples/spring-boot-demo/implementation | |
| # Make sure the test script is executable | |
| chmod +x test-api.sh | |
| # Run the comprehensive API test script | |
| # Uses 'local' profile and default port 8080 | |
| # Set CLEANUP_LOGS=true to remove log files after execution | |
| CLEANUP_LOGS=true ./test-api.sh local 8080 | |
| - name: AWS Lambda build | |
| run: cd examples/aws-lambda-hello-world && ./mvnw --batch-mode --no-transfer-progress package --file pom.xml | |
| - name: Azure Function build | |
| run: cd examples/azure-function-hello-world && ./mvnw --batch-mode --no-transfer-progress package --file pom.xml | |
| - name: Spring Boot Memory Leak build | |
| run: cd examples/spring-boot-memory-leak-demo && ./mvnw --batch-mode --no-transfer-progress package --file pom.xml | |
| - name: Spring Boot Performance Bottleneck build | |
| run: cd examples/spring-boot-performance-bottleneck-demo && ./mvnw --batch-mode --no-transfer-progress package --file pom.xml |