-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[major] normalize all Copper Leaf repos
- Loading branch information
1 parent
b3c8552
commit 2707705
Showing
178 changed files
with
2,264 additions
and
1,980 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[*.{kt,kts}] | ||
insert_final_newline=true | ||
max_line_length=120 | ||
disabled_rules=no-wildcard-imports,import-ordering |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# On PRs to master, run tests on all supported platforms. Also do a dry publish of Orchid to validate its publishing | ||
# pipeline is configured correctly and changelog entries are present | ||
|
||
name: 'PR to `master` (Verify Release)' | ||
|
||
on: | ||
pull_request: | ||
branches: ['master'] | ||
|
||
jobs: | ||
buildCachesOnAll: | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest', 'macos-latest'] | ||
name: 'Build on ${{ matrix.os }} JDK 8' | ||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK 8' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: 8 | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Assemble with Gradle' | ||
run: './gradlew assemble --no-daemon --stacktrace -Prelease' | ||
testOnAll: | ||
needs: ['buildCachesOnAll'] | ||
strategy: | ||
matrix: | ||
java: [8, 9, 10, 11, 12, 13, 14, 15, 16] | ||
os: ['ubuntu-latest', 'macos-latest'] | ||
name: 'Test on ${{ matrix.os }} JDK ${{ matrix.java }}' | ||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK ${{ matrix.java }}' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: '${{ matrix.java }}' | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Run checks with Gradle' | ||
run: './gradlew check :docs:publish --no-daemon --stacktrace -Prelease -PorchidEnvironment=prod -PorchidDryDeploy=true -PorchidDiagnose=true' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# On pushes to dev, or PRs to master or dev, run tests on all supported platforms | ||
|
||
name: 'Push/PR to `dev` (Verify Integration)' | ||
|
||
on: | ||
push: | ||
branches: ['dev'] | ||
pull_request: | ||
branches: ['dev'] | ||
|
||
jobs: | ||
buildCachesOnAll: | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest', 'macos-latest'] | ||
name: 'Build on ${{ matrix.os }} JDK 8' | ||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK 8' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: 8 | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Assemble with Gradle' | ||
run: './gradlew assemble --no-daemon --stacktrace' | ||
testOnAll: | ||
needs: ['buildCachesOnAll'] | ||
strategy: | ||
matrix: | ||
java: [8, 9, 10, 11, 12, 13, 14, 15, 16] | ||
os: ['ubuntu-latest', 'macos-latest'] | ||
name: 'Test on ${{ matrix.os }} JDK ${{ matrix.java }}' | ||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK ${{ matrix.java }}' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: '${{ matrix.java }}' | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Run checks with Gradle' | ||
run: './gradlew check --no-daemon --stacktrace' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# On pushes to `docs` branch, build and publish the Orchid documentation site | ||
|
||
name: 'Push to `docs` (Update Docs Site)' | ||
|
||
on: | ||
push: | ||
branches: ['docs'] | ||
|
||
jobs: | ||
publishOnMacOs: | ||
runs-on: 'macos-latest' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK 1.8' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: 8 | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Publish Orchid site' | ||
run: './gradlew assemble :docs:publish --no-daemon --stacktrace' | ||
env: | ||
GITHUB_ACTOR: '${{ github.actor }}' | ||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# On pushes to master, run tests on all supported platforms. If all tests pass, then publish release artifacts and | ||
# update Orchid documentation site. | ||
|
||
name: 'Push to `master` (Create Release)' | ||
|
||
on: | ||
push: | ||
branches: ['master'] | ||
|
||
jobs: | ||
buildCachesOnAll: | ||
strategy: | ||
matrix: | ||
os: ['ubuntu-latest', 'macos-latest'] | ||
name: 'Build on ${{ matrix.os }} JDK 8' | ||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK 8' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: 8 | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Assemble with Gradle' | ||
run: './gradlew assemble --no-daemon --stacktrace -Prelease -PorchidEnvironment=prod' | ||
testOnAll: | ||
needs: ['buildCachesOnAll'] | ||
strategy: | ||
matrix: | ||
java: [8, 9, 10, 11, 12, 13, 14, 15, 16] | ||
os: ['ubuntu-latest', 'macos-latest'] | ||
name: 'Test on ${{ matrix.os }} JDK ${{ matrix.java }}' | ||
runs-on: '${{ matrix.os }}' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK ${{ matrix.java }}' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: '${{ matrix.java }}' | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Run checks with Gradle' | ||
run: './gradlew check --no-daemon --stacktrace -Prelease -PorchidEnvironment=prod' | ||
publishOnMacOs: | ||
runs-on: 'macos-latest' | ||
needs: ['testOnAll'] | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- run: 'git fetch --prune --unshallow --tags' | ||
- name: 'Set up JDK 1.8' | ||
uses: 'actions/setup-java@v2' | ||
with: | ||
distribution: 'adopt' | ||
java-version: 8 | ||
- name: 'Cache Gradle packages' | ||
uses: 'actions/cache@v1' | ||
with: | ||
path: '~/.gradle/caches' | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: '${{ runner.os }}-gradle' | ||
- name: 'Publish to GitHub Packages' | ||
run: './gradlew publish --no-daemon --stacktrace -Prelease -PorchidEnvironment=prod' | ||
env: | ||
GITHUB_ACTOR: '${{ github.actor }}' | ||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | ||
OSSRH_USERNAME: '${{ secrets.OSSRH_USERNAME }}' | ||
OSSRH_PASSWORD: '${{ secrets.OSSRH_PASSWORD }}' | ||
SIGNING_KEY_ID: '${{ secrets.SIGNING_KEY_ID }}' | ||
SIGNING_KEY: '${{ secrets.SIGNING_KEY }}' | ||
SIGNING_PASSWORD: '${{ secrets.SIGNING_PASSWORD }}' | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,82 @@ | ||
# Files for the ART/Dalvik VM | ||
*.dex | ||
### https://raw.github.com/github/gitignore/7792e50daeaa6c07460484704671d1dc9f0045a7/Java.gitignore | ||
|
||
# Java class files | ||
# Compiled class file | ||
*.class | ||
|
||
# Generated files | ||
bin/ | ||
gen/ | ||
out/ | ||
# Log file | ||
*.log | ||
|
||
# Gradle files | ||
.gradle/ | ||
build/ | ||
/classes/ | ||
# BlueJ files | ||
*.ctxt | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.war | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# Local configuration file (sdk path, etc) | ||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
*.hprof | ||
|
||
### https://raw.github.com/github/gitignore/7792e50daeaa6c07460484704671d1dc9f0045a7/Global/Eclipse.gitignore | ||
|
||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
.recommenders | ||
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Log Files | ||
*.log | ||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# Intellij | ||
*.iml | ||
.idea/ | ||
# PyDev specific (Python IDE for Eclipse) | ||
*.pydevproject | ||
|
||
# Keystore files | ||
*.jks | ||
# CDT-specific (C/C++ Development Tooling) | ||
.cproject | ||
|
||
# Google Analytics | ||
/**/templates/meta.* | ||
# Java annotation processor (APT) | ||
.factorypath | ||
|
||
.DS_Store | ||
# PDT-specific (PHP Development Tools) | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# Tern plugin | ||
.tern-project | ||
|
||
# TeXlipse plugin | ||
.texlipse | ||
|
||
# STS (Spring Tool Suite) | ||
.springBeans | ||
|
||
# Code Recommenders | ||
.recommenders/ | ||
|
||
!swiftdoc/swiftdoc-formatter/src/main/resources/bin | ||
# Scala IDE specific (Scala & Java development for Eclipse) | ||
.cache-main | ||
.scala_dependencies | ||
.worksheet | ||
|
||
.idea/ | ||
.gradle/ | ||
build/ | ||
*.iml | ||
.DS_Store |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## 1.0.0 - 2021-04-15 | ||
|
||
- Updates all to kotlin 1.4.32 |
This file contains 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
Oops, something went wrong.