Skip to content

Server Pool Update #212

Server Pool Update

Server Pool Update #212

Workflow file for this run

name: All Examples Build Verification
on:
pull_request:
types: [opened, synchronize, edited, reopened]
push:
branches:
- main
workflow_dispatch:
env:
GODEBUG: x509sha1=1
jobs:
examples-build-verification:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
- name: Setup GO
uses: actions/setup-go@v3
with:
go-version: '1.19.9'
- name: Install Nats Server
run: |
curl -sf https://binaries.nats.dev/nats-io/nats-server/v2@main | PREFIX=. sh
sudo mv nats-server /usr/local/bin
nats-server -v
- name: Check out code
uses: actions/checkout@v3
- name: Auth Callout
run: |
pushd auth-callout
chmod +x gradlew
./gradlew compileJava
popd
- name: Chain of Command
run: |
pushd chain-of-command
chmod +x gradlew
./gradlew compileJava
popd
- name: Core Reply Request Patterns
run: |
pushd core-request-reply-patterns
chmod +x gradlew
./gradlew compileJava
popd
- name: Encoding
run: |
pushd encoding
chmod +x gradlew
./gradlew compileJava
popd
- name: Error And Heartbeat Experiments
run: |
pushd error-and-heartbeat-experiments
chmod +x gradlew
./gradlew compileJava
popd
- name: File Transfer Manual
run: |
pushd file-transfer-manual
chmod +x gradlew
./gradlew compileJava
popd
- name: File Transfer Object Store
run: |
pushd file-transfer-object-store
chmod +x gradlew
./gradlew compileJava
popd
- name: Functional Examples
run: |
pushd functional-examples
chmod +x gradlew
./gradlew compileJava
popd
- name: Hello World
run: |
pushd hello-world
chmod +x gradlew
./gradlew test
popd
- name: Js Multi Tool
run: |
pushd js-multi-tool
chmod +x gradlew
./gradlew clean compileJava
mvn clean compile
popd
- name: Js Over Core
run: |
pushd js-over-core
chmod +x gradlew
./gradlew clean compileJava
popd
- name: Multi Subject Worker
run: |
pushd multi-subject-worker
chmod +x gradlew
./gradlew clean compileJava
popd
- name: Nats By Example
run: |
pushd nats-by-example
chmod +x gradlew
./gradlew clean compileJava
popd
- name: OCSP
run: |
pushd ocsp
chmod +x gradlew
./gradlew compileJava
popd
- name: Recreate Consumer
run: |
pushd recreate-consumer
chmod +x gradlew
./gradlew compileJava
popd
- name: Robust Push Subscription
run: |
pushd robust-push-subscription
chmod +x gradlew
./gradlew compileJava
popd
- name: Server Pool
run: |
pushd server-pool
chmod +x gradlew
./gradlew compileJava
popd
- name: SSL Context Factory
run: |
pushd ssl-context-factory
chmod +x gradlew
./gradlew compileJava
popd
- name: Starter Gradle Groovy
run: |
pushd starter-gradle-groovy
chmod +x gradlew
./gradlew test
popd
- name: Starter Gradle Kotlin
run: |
pushd starter-gradle-kotlin
chmod +x gradlew
./gradlew test
popd
- name: Starter Maven
run: |
pushd starter-maven
mvn test
popd