-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 884 Bytes
/
Copy pathexamples-java.yml
File metadata and controls
33 lines (30 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: examples-java
on:
push:
paths:
- "examples/java/**"
- ".github/workflows/examples-java.yml"
pull_request:
paths:
- "examples/java/**"
permissions:
contents: read
jobs:
java:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: "21"
- name: Compile and run the server smoke test
working-directory: examples/java/server
run: |
javac Server.java SmokeTest.java
java SmokeTest
- name: Compile and run the client crypto vectors
working-directory: examples/java/client
run: |
javac Crypto.java CryptoVectors.java Client.java
java CryptoVectors