Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync public with staging #615

Merged
merged 158 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
628bd0d
chore(ci): fix directory names in testing to (#14)
josecorella Sep 8, 2022
b332f78
feat: Add AWS KMS (#16)
seebees Oct 17, 2022
3a97f9f
feat: Cryptographic Primitives (#15)
seebees Oct 17, 2022
4193d52
fix: consolidate github CI (#17)
seebees Oct 19, 2022
df0bc24
task: let Decode accept any uint8 sequence
ajewellamz Oct 24, 2022
2e9161d
task: add ensures to Decode
ajewellamz Oct 25, 2022
58eb951
fix(KMS-Poly): remove duplicate model files (#21)
texastony Oct 25, 2022
2c250d9
fix(gitignore): go away JetBrains (#24)
texastony Oct 25, 2022
f3d1e17
task: add SplitOnce (#23)
ajewellamz Oct 26, 2022
4a969e9
feat: add Material Providers Library
lavaleri Nov 9, 2022
c7279a9
fix: positional trait application (#31)
texastony Nov 11, 2022
f85d118
fix: dafny testing reporting (#32)
texastony Nov 14, 2022
a580ecf
fix(ci): backport test_net_mac_intel ci fix (#33)
josecorella Nov 14, 2022
e4e6803
feat: Add mpl dotnet (#27)
seebees Nov 16, 2022
8a8643b
chore: add DynamoDB Service, Materials Cache, and Hierarchical Keyrin…
josecorella Nov 16, 2022
422bd82
feat: Duvet with markdown (#34)
seebees Nov 22, 2022
a3fd8b9
fix: Speed up verification (#37)
seebees Nov 23, 2022
dc1da3d
fix: Fix DynamoDb and MaterialProviders build (#36)
lavaleri Nov 25, 2022
4869a84
feat: adding more duvet annotations (#38)
seebees Nov 29, 2022
8791cfa
feat: Update Libraries (#41)
seebees Nov 29, 2022
7040d54
Revert ddb in mpl (#44)
lavaleri Dec 1, 2022
9996350
feat: add roundtrip ensures clause to Encode (#47)
ajewellamz Dec 2, 2022
61ecfec
fix(MPL-Net): Respect Union Shape member names from Smithy (#49)
texastony Dec 2, 2022
f98a49c
feat: Add Dafny->Java compilation for CryptoPrimitives (#48)
lavaleri Dec 2, 2022
232e3fb
feat: Build KMS Java (#51)
lavaleri Dec 3, 2022
0d15417
chore: Fix linter warnings (#52)
lavaleri Dec 3, 2022
3bb7c62
chore: Update comment on duvet workflow (#62)
lavaleri Dec 14, 2022
7e4f9f5
fix(MPL-Tests-Java): work around Dafny Java Typing issue (#55)
texastony Dec 14, 2022
fe49d01
refactor(KMS-RegionMatch): mv RegionMatch to KMS (#53)
texastony Dec 14, 2022
3077964
feat: Add smithy->Java codegen to CryptoPrimitives and KMS (#56)
lavaleri Dec 14, 2022
1949a63
feat: add EncodeAscii (#60)
ajewellamz Dec 14, 2022
08672f7
feat: Add smithy->Java codegen for MPL (#57)
lavaleri Dec 14, 2022
46ea5d0
feat: Build DDB smithy->Dafny->Java in CI
lavaleri Dec 15, 2022
2708176
chore: add net transpile targets to DDB Makefile (#64)
lavaleri Dec 16, 2022
71716c4
feat: Add externs for KMS and UTF8 (#65)
lavaleri Dec 21, 2022
73999e5
feat: build ddb for Java SDK v2 (#69)
lavaleri Dec 28, 2022
d7ca9d1
chore: AwsKmsHierarchyKeyring Skeleton (#71)
josecorella Jan 4, 2023
c5e7abf
feat(Java): Manually update generated resources
texastony Jan 4, 2023
b94a699
feat: Add interfaces for branch key APIs and branch key supplier (#72)
lavaleri Jan 5, 2023
d21ac53
chore: Upgrade Dafny build dependency to 3.10.0 (#75)
lavaleri Jan 11, 2023
ee4a671
feat(Crypto-Java): AES GCM Extern (#73)
ajewellamz Jan 11, 2023
2ed28bb
feat: add time extern (#77)
ajewellamz Jan 11, 2023
1d18f49
feat: Add smithy model for Kms RSA keyring (#74)
lavaleri Jan 12, 2023
db42e3d
chore: Upgrade verification workflow to dafny 3.10.0 (#76)
lavaleri Jan 12, 2023
177c065
feat: sets-extern (#78)
ajewellamz Jan 13, 2023
84b7948
feat(DDB-Java): convert DDB client To(Native/Dafny) (#79)
texastony Jan 13, 2023
f2f3670
feat: random-extern (#80)
josecorella Jan 17, 2023
1d07673
feat: rsa extern (#81)
josecorella Jan 18, 2023
4a6a35c
feat: Add HMAC and Hash externs (#83)
seebees Jan 24, 2023
b4b3315
feat(Crypto-Java): Elliptic Curve Signatures (#82)
texastony Jan 24, 2023
e706dc0
chore: Build all MPL tests for CI (#85)
lavaleri Jan 25, 2023
896bf93
chore: update Dafny runtime in Net (#88)
texastony Jan 30, 2023
b674798
Integrate esdk with mpl (#45)
seebees Feb 2, 2023
5fa6798
m
ajewellamz Feb 2, 2023
60ce9af
feat: add ensures to set opertions (#91)
ajewellamz Feb 2, 2023
9c47da7
chore: Add KDF CTR and AES KDF CTR (#93)
josecorella Feb 7, 2023
fc7e748
feat: Consolidate make targets (#92)
seebees Feb 7, 2023
e973899
chore: Update primitives operations references (#97)
lucasmcdonald3 Feb 8, 2023
8615dec
chore: Update SharedMakefile.mk and README.md (#101)
lucasmcdonald3 Feb 10, 2023
004bbb6
feat: fix warnings (#102)
ajewellamz Feb 14, 2023
b047dba
feat: add AES CTR (#99)
ajewellamz Feb 14, 2023
a31034b
feat: add DDBEC algorithm suites for symmetric signing (#84)
lavaleri Feb 14, 2023
831b6a4
feat: Add commitment policy for DBE (#105)
lavaleri Feb 15, 2023
548f20d
feat: AesKdfCtr.Stream should have been a function (#110)
ajewellamz Feb 16, 2023
a1fd66c
feat: Add symmetric signature keys to materials (#107)
lavaleri Feb 16, 2023
e70c0b1
chore: add cfn template for ci resources (#112)
josecorella Feb 22, 2023
926bbed
feat: change module name from Sets to SortedSets (#115)
ajewellamz Feb 24, 2023
8b1e647
feat: KDF in Counter Mode (#96)
josecorella Feb 28, 2023
c9fa5fe
feat: update submodule (#118)
ajewellamz Feb 28, 2023
f50f072
feat: Update the shared makefile for relative paths (#114)
seebees Mar 1, 2023
57e4a56
feat: Add intermediate key wrapping helpers (#116)
lavaleri Mar 1, 2023
795fa4b
feat: Add AWS KMS Hierarchical Keyring (#109)
josecorella Mar 2, 2023
92ca66f
feat: Support intermediate key wrapping in AWS KMS Keyring (#119)
lavaleri Mar 2, 2023
c1c3f36
refactor: encryption context to aad is in shared file (#121)
josecorella Mar 2, 2023
0c4dfde
refactor: AwsKmsArnParsing (#123)
josecorella Mar 3, 2023
4b9f836
feat: add comparison operations (#127)
ajewellamz Mar 6, 2023
36d1fad
chore(polymorph): pull in latest polymorph (#126)
ShubhamChaturvedi7 Mar 7, 2023
c4e52df
chore: sort queries by create-time value (#128)
josecorella Mar 7, 2023
69e3bda
feat: Generate all projects with the latest smithy-dafny
seebees Mar 8, 2023
b0b1836
feat: Add hex string support
ajewellamz Mar 9, 2023
897651c
feat: support UUID conversion to bytes (#125)
josecorella Mar 9, 2023
c890df6
feat: Mpl encryption context change (#42)
seebees Mar 9, 2023
5055d40
fix(DDB-Java): Benerate SDK Empty List/Map as None (#131)
texastony Mar 9, 2023
00f5bc9
feat: Make the shared makefile more portable (#132)
seebees Mar 10, 2023
bfba507
Add back benerated information (#133)
seebees Mar 10, 2023
5f8e4c2
fix(AWS-Java): Optional Empty Collections should be None (#134)
texastony Mar 10, 2023
d72c4f9
feat(CFN): add a KMS MRK RSA Key (#137)
texastony Mar 13, 2023
a9cb9f9
Adjust for smithy-polymorph -> smithy-dafny-codegen-cli rename (#135)
robin-aws Mar 13, 2023
60df6c9
feat: Add end to end testing for MPL (#87)
seebees Mar 14, 2023
02182df
fix(DDB-Java): ToDafny AttributeValue (#139)
texastony Mar 14, 2023
83e904d
feat: Add Local CMC (#129)
josecorella Mar 14, 2023
b220f27
chore: add intermediate key wrapping to hierarchy keyring (#138)
josecorella Mar 14, 2023
1e91b62
feat: add expected context cmm (#146)
ajewellamz Mar 16, 2023
0b10049
feat: Add GetRSAModulusLength API to primitives (#145)
lavaleri Mar 16, 2023
188905d
build: update Polymorph invocation (#148)
texastony Mar 17, 2023
6ca83d4
feat: First cut implementation of AWS KMS RSA Keyring (#111)
seebees Mar 20, 2023
9ec2a72
feat: Add LocalCMC to AWS KMS Hierarchy Keyring (#140)
josecorella Mar 22, 2023
3c02022
feat: Add branch key id supplier for hierarchical keyring (#150)
lavaleri Mar 24, 2023
b92a50e
feat: add intermediate key wrapping to kms mrk keyring (#149)
josecorella Mar 26, 2023
9e2ce52
feat: add intermediate key wrapping to raw rsa keyring (#152)
josecorella Mar 29, 2023
4c6fa13
chore: Update for awslabs/smithy-dafny/pull/189 (#153)
robin-aws Mar 30, 2023
f93ec44
chore: Add HexStrings and FloatCompare to Index (#154)
ajewellamz Mar 30, 2023
7a200a5
feat: add intermediate key unwrapping to discovery kms keyring (#155)
josecorella Mar 31, 2023
b5bea7d
docs: Extendable Resources MUST be un-wrappable (#157)
texastony Apr 4, 2023
7cb5b39
feat: add key store smithy model (#156)
josecorella Apr 4, 2023
57066dd
chore: fix polymorph call (#158)
texastony Apr 6, 2023
51da942
test(MPL-Java): Run MPL Test Vectors in Java (#159)
texastony Apr 7, 2023
4527632
feat: refactor mpl and add get beacon key operations (#160)
josecorella Apr 10, 2023
a81b245
chore(primitives): error when counter reaches 0 in kdf-ctr and fix it…
josecorella Apr 12, 2023
ab0149e
chore(cfn): add new key store table cfn (#163)
josecorella Apr 13, 2023
521bba6
feat(KeyStore): Add CreateKeyStore, and GetKey* Operations (#162)
josecorella Apr 13, 2023
3a6ed12
feat: Upgrade to Dafny 4.0 (#151)
seebees Apr 13, 2023
66f35aa
fix(KeyStore-Java): Benerate Local Service conversion
texastony Apr 14, 2023
c895d41
Fix: Fix makefile codegen target (#167)
lavaleri Apr 14, 2023
0a6550a
feat(KeyStore): Add CreateKey and Test (#166)
josecorella Apr 15, 2023
5063eea
feat: AwsKMS MRK Discovery Keyring KeyWrapping support (#170)
seebees Apr 15, 2023
e60826b
feat: RawAes KeyWrapping support (#169)
seebees Apr 15, 2023
b8d6b5d
refactor(KeyStore): Remove dependency on MPL (#171)
josecorella Apr 15, 2023
04cfe07
Fix: Use latest codegen for fixed Java errors (#173)
lavaleri Apr 15, 2023
e6cc28d
feat(MPL): Add KeyStore to Hierarchical Keyring and Tests (#175)
josecorella Apr 16, 2023
5c1fbe3
fix: correctly add expiry time to hierarchical keyring put cache ops …
josecorella Apr 16, 2023
9d1e651
Fix: Manually fix errors in codegen (#174)
lavaleri Apr 16, 2023
5db326e
fix: make gen uuid a method (#177)
josecorella Apr 17, 2023
f10fb41
chore: update beacon material to map over list of hmac keys (#180)
josecorella Apr 17, 2023
dc2d71e
chore: update cfn to allow ReEncrypt on kms key (#181)
josecorella Apr 18, 2023
b24c72a
refactor(KeyStore): Add KMS ARN to Config and remove from operation i…
josecorella Apr 19, 2023
b61d5f5
ci(Java): re-use runners accross Java (#179)
texastony Apr 20, 2023
ffd4d15
feat: Seprate out the OUTPUT_LOCAL_SERVICE option (#184)
seebees Apr 20, 2023
c8237ec
feat(KeyStore): Add Support for versioning Active Branch Key (#187)
josecorella Apr 21, 2023
e193215
feat: Better Pem parsing (#186)
seebees Apr 21, 2023
5916163
feat: Need to be able to pass a region to KMS (#185)
seebees Apr 21, 2023
5ed19be
feat(KeyStore): Add and Test Active BranchKey Resolution API (#189)
josecorella Apr 21, 2023
79044e7
refactor(KeyStore): grant tokens should be taken during initializatio…
josecorella Apr 25, 2023
283f969
fix: Remove unused SHA-1 from crypto primitives model (#188)
lavaleri Apr 25, 2023
b8bb42e
chore: update spec submodule (#195)
josecorella Apr 26, 2023
e99a581
fix: RawAES supports symmetric signatures (#199)
seebees Apr 29, 2023
b2e67a4
feat: Add metrics to MPL KMS (#204)
seebees May 1, 2023
2933d88
feat: Speed up transpile (#205)
seebees May 1, 2023
cc6e40a
fix(.NET): Fix & Test Generated .NET (#202)
texastony May 1, 2023
7b6cb4f
feat(KeyStore): Implement Logical Table Name in KeyStore (#210)
josecorella May 5, 2023
8a90181
fix(mpl): add back manual edit (#211)
josecorella May 5, 2023
cc2869a
chore: Add nightly builds for all workflows that use Dafny (#209)
robin-aws May 5, 2023
99e04b4
chore: enable javadoc trait (#212)
texastony May 5, 2023
c59f260
docs: Remove TODOs (#201)
lavaleri May 8, 2023
3b13076
chore: gradle 7.6 (#213)
texastony May 9, 2023
793a20b
chore: Upgrade with latest codegen (#214)
lavaleri May 9, 2023
6e0dda3
fix: Reintroduce manual smithy edits to sdk modules (#215)
lavaleri May 9, 2023
71e81e3
Account for smithy dafny conversion library renaming (#218)
robin-aws May 17, 2023
1027deb
Remove unneeded CodeArtifact setup, fix version number (#219)
robin-aws May 23, 2023
d0cf30f
fix: Provide -compileSuffix to dafny when available (#222)
robin-aws Jul 14, 2023
31f59d1
refactor: take mpl as a dependency and improve verification stability…
josecorella Sep 1, 2023
afb89dd
refactor: move aws-encryption-sdk-net into AwsEncryptionSDK/runtimes/…
josecorella Oct 3, 2023
0fa6768
chore: add cfn templates (#227)
josecorella Oct 4, 2023
dc4bf95
chore(NET): add support for .NET framework net48 (#228)
josecorella Oct 4, 2023
8fef87c
chore: update release scripts (#229)
josecorella Oct 5, 2023
16a0615
chore(.NET): update .NET README and Changelog (#231)
josecorella Oct 10, 2023
c26f2dd
feat(Decrypt)!: Encryption Context is optional input to DecryptInput …
josecorella Oct 10, 2023
795c08a
chore(.NET): update .Net Examples (#230)
josecorella Oct 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,3 @@


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

# Due to [dafny-lang/dafny#2500](https://github.com/dafny-lang/dafny/issues/2500), Traits are dangerous:
1. [ ] Does this PR add any traits or classes that extend a trait?
2. [ ] Are these traits annotated with `{:termination false}`?

The override checks on
the specifications on
a class' functions/methods/etc. validating
that specifications are
at least as strong as those on
the traits it implements
are not working correctly when
that trait is defined in a different module
(and hence must have `{:termination false}` on it).

As such, if either (1.) or (2.) is true:
- [ ] manually verified all the trait specifications are copied onto classes that extend them?
50 changes: 50 additions & 0 deletions .github/workflows/duvet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This workflow verifies
# that the source is annotated
# with respect to the specification
name: Duvet report

on:
pull_request:
push:
branches:
- main

jobs:
duvet:
runs-on: ubuntu-latest
# This environment stores a token
# that can be used to checkout
# the ESDK specification
environment: "Duvet CI"
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
steps:
- uses: actions/checkout@v3
with:
# This secret is in the configured environment
# Token created on # 12/14/2022
# expires in ~30 days 01/13/2023
token: ${{ secrets.PAT_SPEC }}
submodules: true

- name: Install duvet
shell: bash
run: |
cargo +stable install duvet

# //= aws-encryption-sdk-specification/framework/structures.md#overview
# //= type=implication
# //# These structures define a group of related fields that MUST hold certain properties.
# //# Wherever these structures are referenced in this specification,
# //# implementations MUST ensure that all properties of a structure's fields are upheld.
- name: Run the duvet report
shell: bash
run: |
make duvet

- uses: actions/upload-artifact@v3
if: always()
with:
name: specification_compliance_report
path: specification_compliance_report.html
78 changes: 78 additions & 0 deletions .github/workflows/library_dafny_verification.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# This workflow performs static analysis checks.
name: Library Dafny verification

on:
pull_request:
push:
branches:
- main
workflow_dispatch:
# Manual trigger for this workflow, either the normal version
# or the nightly build that uses the latest Dafny prerelease
# (accordingly to the "nightly" parameter).
inputs:
nightly:
description: 'Run the nightly build'
required: false
type: boolean
schedule:
# Nightly build against Dafny's nightly prereleases,
# for early warning of verification issues or regressions.
# Timing chosen to be adequately after Dafny's own nightly build,
# but this might need to be tweaked:
# https://github.com/dafny-lang/dafny/blob/master/.github/workflows/deep-tests.yml#L16
- cron: "30 16 * * *"

jobs:
verification:
# Don't run the nightly build on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
library: [
AwsEncryptionSDK
]
os: [ macos-latest ]
runs-on: ${{ matrix.os }}
environment: "MPL_DAFNY"
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
steps:
- uses: actions/checkout@v2
- name: Init Submodules
env:
# This secret is in the configured environment
# Token created on # 09/26/2023
# expires in ~30 days 10/26/2023
MPL_PAT: ${{ secrets.MPL_DAFNY }}
run: |
AUTH="$(echo -n "pat:${MPL_PAT}" | base64 | tr -d '\n')"
git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $AUTH"
git config --global --add url.https://github.com/.insteadOf [email protected]:
git submodule update --init libraries
git submodule update --init --recursive mpl

- name: Support longpaths
run: |
git config --global core.longpaths true

- name: Setup Dafny
uses: dafny-lang/[email protected]
with:
# A && B || C is the closest thing to an if .. then ... else ... or ?: expression the GitHub Actions syntax supports.
dafny-version: ${{ (github.event_name == 'schedule' || inputs.nightly) && 'nightly-latest' || '4.2.0' }}

- name: Verify ${{ matrix.library }} Dafny code
shell: bash
working-directory: ./${{ matrix.library }}
run: |
# This works because `node` is installed by default on GHA runners
CORES=$(node -e 'console.log(os.cpus().length)')
make verify CORES=$CORES

- name: Check solver resource use
shell: bash
working-directory: ./${{ matrix.library }}
run: |
make dafny-reportgenerator
169 changes: 169 additions & 0 deletions .github/workflows/library_java_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
# This workflow performs tests in Java.
name: Library Java tests

on:
pull_request:
push:
branches:
- main
schedule:
# Nightly build against Dafny's nightly prereleases,
# for early warning of verification issues or regressions.
# Timing chosen to be adequately after Dafny's own nightly build,
# but this might need to be tweaked:
# https://github.com/dafny-lang/dafny/blob/master/.github/workflows/deep-tests.yml#L16
- cron: "30 16 * * *"

jobs:
testJava:
# Don't run the nightly build on forks
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
strategy:
matrix:
library: [
#AwsEncryptionSDK
]
os: [
# TODO just test on mac for now
#windows-latest,
#ubuntu-latest,
macos-latest
]
runs-on: ${{ matrix.os }}
environment: "MPL_DAFNY"
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v2
- name: Init Submodules
env:
# This secret is in the configured environment
# Token created on # 09/26/2023
# expires in ~30 days 10/26/2023
MPL_PAT: ${{ secrets.MPL_DAFNY }}
run: |
AUTH="$(echo -n "pat:${MPL_PAT}" | base64 | tr -d '\n')"
git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $AUTH"
git config --global --add url.https://github.com/.insteadOf [email protected]:
git submodule update --init libraries
git submodule update --init --recursive mpl

- name: Support longpaths
run: |
git config --global core.longpaths true
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-west-2
# TODO: This role was manually created.
role-to-assume: arn:aws:iam::370957321024:role/ESDK-Dafny-Private-CA-Read
role-session-name: JavaPrivateESDKDafnyTests

- name: Setup Dafny
uses: dafny-lang/[email protected]
with:
# A && B || C is the closest thing to an if .. then ... else ... or ?: expression the GitHub Actions syntax supports.
dafny-version: ${{ (github.event_name == 'schedule' || inputs.nightly) && 'nightly-latest' || '4.2.0' }}

- name: Setup Java 8
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 8

- name: Build ${{ matrix.library }} implementation
shell: bash
working-directory: ./${{ matrix.library }}
run: |
# This works because `node` is installed by default on GHA runners
CORES=$(node -e 'console.log(os.cpus().length)')
make build_java CORES=$CORES

# KMS and MPL tests need to use credentials which can call KMS
- name: Configure AWS Credentials for Tests
uses: aws-actions/configure-aws-credentials@v1
if: matrix.library == 'ComAmazonawsKms' || matrix.library == 'AwsCryptographicMaterialProviders' || matrix.library == 'TestVectorsAwsCryptographicMaterialProviders'
with:
aws-region: us-west-2
role-to-assume: arn:aws:iam::370957321024:role/GitHub-CI-ESDK-Dafny-Role-us-west-2
role-session-name: JavaTests

- name: Test ${{ matrix.library }}
working-directory: ./${{ matrix.library }}
# TODO: DDB currently has no tests
if: matrix.library != 'ComAmazonawsDynamodb'
run: |
make test_java

- name: Setup Java 11
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 11

- name: Clean for next Java
uses: gradle/gradle-build-action@v2
with:
arguments: clean
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Compile Java 11
uses: gradle/gradle-build-action@v2
with:
arguments: build
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Test Java 11
uses: gradle/gradle-build-action@v2
with:
arguments: runTests
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Setup Java 16
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 16

- name: Clean for next Java
uses: gradle/gradle-build-action@v2
with:
arguments: clean
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Compile Java 16
uses: gradle/gradle-build-action@v2
with:
arguments: build
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Test Java 16
uses: gradle/gradle-build-action@v2
with:
arguments: runTests
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 17

- name: Clean for next Java
uses: gradle/gradle-build-action@v2
with:
arguments: clean
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Compile Java 17
uses: gradle/gradle-build-action@v2
with:
arguments: build
build-root-directory: ./${{ matrix.library }}/runtimes/java

- name: Test Java 17
uses: gradle/gradle-build-action@v2
with:
arguments: runTests
build-root-directory: ./${{ matrix.library }}/runtimes/java
Loading
Loading