-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from mipt-npm/dev
0.5.0
- Loading branch information
Showing
129 changed files
with
2,998 additions
and
4,041 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 |
---|---|---|
@@ -1,27 +1,32 @@ | ||
name: Gradle build | ||
|
||
on: [ push ] | ||
on: | ||
push: | ||
branches: [ dev, master ] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ macOS-latest, windows-latest ] | ||
runs-on: ${{matrix.os}} | ||
timeout-minutes: 40 | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
uses: DeLaGuardo/setup-[email protected] | ||
with: | ||
java-version: 11 | ||
- name: Add msys to path | ||
if: matrix.os == 'windows-latest' | ||
run: SETX PATH "%PATH%;C:\msys64\mingw64\bin" | ||
graalvm: 21.2.0 | ||
java: java11 | ||
arch: amd64 | ||
- name: Cache gradle | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/caches | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
|
@@ -33,4 +38,4 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Build | ||
run: ./gradlew build --no-daemon --stacktrace | ||
run: ./gradlew build --build-cache --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 |
---|---|---|
|
@@ -2,32 +2,27 @@ name: Dokka publication | |
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 40 | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
- uses: actions/checkout@v2 | ||
- uses: DeLaGuardo/[email protected] | ||
with: | ||
java-version: 11 | ||
- name: Cache gradle | ||
uses: actions/cache@v2 | ||
graalvm: 21.2.0 | ||
java: java11 | ||
arch: amd64 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ubuntu-20.04-gradle-${{ hashFiles('*.gradle.kts') }} | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
restore-keys: | | ||
ubuntu-20.04-gradle- | ||
- name: Build | ||
run: | | ||
./gradlew dokkaHtmlMultiModule --no-daemon --no-parallel --stacktrace | ||
mv build/dokka/htmlMultiModule/-modules.html build/dokka/htmlMultiModule/index.html | ||
- name: Deploy to GitHub Pages | ||
uses: JamesIves/[email protected] | ||
${{ runner.os }}-gradle- | ||
- run: ./gradlew dokkaHtmlMultiModule --build-cache --no-daemon --no-parallel --stacktrace | ||
- uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: build/dokka/htmlMultiModule |
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 |
---|---|---|
|
@@ -3,31 +3,31 @@ name: Gradle publish | |
on: | ||
workflow_dispatch: | ||
release: | ||
types: | ||
- created | ||
types: [ created ] | ||
|
||
jobs: | ||
publish: | ||
environment: | ||
name: publish | ||
strategy: | ||
matrix: | ||
os: [macOS-latest, windows-latest] | ||
os: [ macOS-latest, windows-latest ] | ||
runs-on: ${{matrix.os}} | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v2 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
uses: DeLaGuardo/setup-[email protected] | ||
with: | ||
java-version: 11 | ||
- name: Add msys to path | ||
if: matrix.os == 'windows-latest' | ||
run: SETX PATH "%PATH%;C:\msys64\mingw64\bin" | ||
graalvm: 21.2.0 | ||
java: java11 | ||
arch: amd64 | ||
- name: Cache gradle | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/caches | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
|
@@ -40,20 +40,14 @@ jobs: | |
${{ runner.os }}-gradle- | ||
- name: Publish Windows Artifacts | ||
if: matrix.os == 'windows-latest' | ||
shell: cmd | ||
run: > | ||
./gradlew release --no-daemon | ||
-Ppublishing.enabled=true | ||
-Ppublishing.github.user=${{ secrets.PUBLISHING_GITHUB_USER }} | ||
-Ppublishing.github.token=${{ secrets.PUBLISHING_GITHUB_TOKEN }} | ||
-Ppublishing.space.user=${{ secrets.PUBLISHING_SPACE_USER }} | ||
-Ppublishing.space.token=${{ secrets.PUBLISHING_SPACE_TOKEN }} | ||
./gradlew release --no-daemon --build-cache -Ppublishing.enabled=true | ||
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }} | ||
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }} | ||
- name: Publish Mac Artifacts | ||
if: matrix.os == 'macOS-latest' | ||
run: > | ||
./gradlew release --no-daemon | ||
-Ppublishing.enabled=true | ||
-Ppublishing.platform=macosX64 | ||
-Ppublishing.github.user=${{ secrets.PUBLISHING_GITHUB_USER }} | ||
-Ppublishing.github.token=${{ secrets.PUBLISHING_GITHUB_TOKEN }} | ||
-Ppublishing.space.user=${{ secrets.PUBLISHING_SPACE_USER }} | ||
-Ppublishing.space.token=${{ secrets.PUBLISHING_SPACE_TOKEN }} | ||
./gradlew release --no-daemon --build-cache -Ppublishing.enabled=true -Ppublishing.platform=macosX64 | ||
-Ppublishing.space.user=${{ secrets.SPACE_APP_ID }} | ||
-Ppublishing.space.token=${{ secrets.SPACE_APP_SECRET }} |
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
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
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
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
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.