-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.1.0-beta05 - Performance Benchmarks (#115)
- Loading branch information
Showing
98 changed files
with
1,531 additions
and
489 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,41 @@ | ||
name: Bug report | ||
description: Report a bug or an issue with existing features | ||
title: "🐞: " | ||
labels: [ triage ] | ||
assignees: [ Nek-12 ] | ||
type: 'bug' | ||
body: | ||
- type: input | ||
attributes: | ||
label: FlowMVI Version | ||
validations: | ||
required: true | ||
- type: input | ||
attributes: | ||
label: Kotlin Version | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Platforms | ||
description: If not sure, select the platform where you reproduced this issue on | ||
options: | ||
- label: 'Android' | ||
- label: 'iOS' | ||
- label: 'macOS' | ||
- label: 'Linux' | ||
- label: 'Windows' | ||
- label: 'JS' | ||
- label: 'Wasm' | ||
- type: checkboxes | ||
attributes: | ||
label: Before you submit | ||
validations: | ||
required: true | ||
options: | ||
- label: 'I have read the FAQ and documentation' | ||
- label: 'I have used search to find similar issues already reported' | ||
- type: textarea | ||
description: Provide more details about what happened. Reproducers or examples will greatly speed up the resolution. | ||
validations: | ||
required: true |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
name: Feature request | ||
description: Request a new feature | ||
title: "🚀: " | ||
labels: [ triage ] | ||
assignees: [ Nek-12 ] | ||
type: 'feature' | ||
body: | ||
- type: textarea | ||
description: What do you want to see being implemented? Code examples will be greatly appreciated. | ||
validations: | ||
required: 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,19 @@ | ||
name: Ask a question | ||
title: "❔: " | ||
description: Ask a question, request documentation, or something else | ||
labels: [ triage ] | ||
assignees: [ Nek-12 ] | ||
type: 'task' | ||
body: | ||
- type: textarea | ||
description: What do you want to know? | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Before you submit | ||
validations: | ||
required: true | ||
options: | ||
- label: 'I have read the FAQ and documentation' | ||
- label: 'I have used search to see if this question has already been answered' |
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
benchmark: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Copy CI gradle.properties | ||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties | ||
|
||
- name: set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
check-latest: true | ||
java-version: 22 | ||
cache: 'gradle' | ||
|
||
- name: Validate gradle wrapper | ||
uses: gradle/actions/wrapper-validation@v4 | ||
|
||
- name: Create local properties | ||
env: | ||
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }} | ||
run: echo "$LOCAL_PROPERTIES" | base64 --decode > local.properties | ||
|
||
- name: Cache konan directory | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.konan | ||
key: ${{ runner.os }}-konan-${{ hashFiles('*.gradle.kts', 'buildSrc/*') }} | ||
restore-keys: | | ||
${{ runner.os }}-konan- | ||
- name: Run benchmarks | ||
run: ./gradlew benchmarks:benchmark |
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,17 +1,24 @@ | ||
name: debugger-linux | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
workflow_call: | ||
outputs: | ||
debugger: | ||
value: ${{ jobs.publish.outputs.debugger-url }} | ||
sample: | ||
value: ${{ jobs.publish.outputs.sample-url }} | ||
|
||
concurrency: | ||
group: "publish-linux" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
publish-windows: | ||
publish: | ||
runs-on: ubuntu-latest | ||
environment: publishing | ||
outputs: | ||
debugger-url: ${{ steps.upload-debugger.outputs.artifact-url }} | ||
sample-url: ${{ steps.upload-sample.outputs.artifact-url }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -49,17 +56,21 @@ jobs: | |
run: ./gradlew sample:packageDistributionForCurrentOS | ||
|
||
- name: Upload debugger | ||
id: upload-debugger | ||
uses: actions/[email protected] | ||
with: | ||
name: Debugger_Linux | ||
path: ./debugger/app/build/compose/binaries/main/deb/* | ||
if-no-files-found: error | ||
compression-level: 0 | ||
overwrite: false | ||
|
||
- name: Upload sample | ||
id: upload-sample | ||
uses: actions/[email protected] | ||
with: | ||
name: Sample_Linux | ||
path: ./sample/build/compose/binaries/main/deb/* | ||
if-no-files-found: error | ||
compression-level: 0 | ||
overwrite: false |
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,17 +1,24 @@ | ||
name: debugger-macos | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
workflow_call: | ||
outputs: | ||
debugger: | ||
value: ${{ jobs.publish.outputs.debugger-url }} | ||
sample: | ||
value: ${{ jobs.publish.outputs.sample-url }} | ||
|
||
concurrency: | ||
group: "publish-macos" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
publish-windows: | ||
publish: | ||
runs-on: macos-latest | ||
environment: publishing | ||
outputs: | ||
debugger-url: ${{ steps.upload-debugger.outputs.artifact-url }} | ||
sample-url: ${{ steps.upload-sample.outputs.artifact-url }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -49,17 +56,21 @@ jobs: | |
run: ./gradlew sample:packageDistributionForCurrentOS | ||
|
||
- name: Upload debugger | ||
id: upload-debugger | ||
uses: actions/[email protected] | ||
with: | ||
name: Debugger_MacOS | ||
path: ./debugger/app/build/compose/binaries/main/dmg/* | ||
if-no-files-found: error | ||
compression-level: 0 | ||
overwrite: false | ||
|
||
- name: Upload sample | ||
id: upload-sample | ||
uses: actions/[email protected] | ||
with: | ||
name: Sample_MacOS | ||
path: ./sample/build/compose/binaries/main/dmg/* | ||
if-no-files-found: error | ||
compression-level: 0 | ||
overwrite: false |
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,17 +1,24 @@ | ||
name: debugger-windows | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
workflow_call: | ||
outputs: | ||
debugger: | ||
value: ${{ jobs.publish.outputs.debugger-url }} | ||
sample: | ||
value: ${{ jobs.publish.outputs.sample-url }} | ||
|
||
concurrency: | ||
group: "publish-win" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
publish-windows: | ||
publish: | ||
runs-on: windows-latest | ||
environment: publishing | ||
outputs: | ||
debugger-url: ${{ steps.upload-debugger.outputs.artifact-url }} | ||
sample-url: ${{ steps.upload-sample.outputs.artifact-url }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -50,17 +57,21 @@ jobs: | |
run: ./gradlew sample:packageDistributionForCurrentOS | ||
|
||
- name: Upload debugger | ||
id: upload-debugger | ||
uses: actions/[email protected] | ||
with: | ||
name: Debugger_Windows | ||
path: ./debugger/app/build/compose/binaries/main/exe/* | ||
if-no-files-found: error | ||
compression-level: 0 | ||
overwrite: false | ||
|
||
- name: Upload sample | ||
id: upload-sample | ||
uses: actions/[email protected] | ||
with: | ||
name: Sample_Windows | ||
path: ./sample/build/compose/binaries/main/exe/* | ||
if-no-files-found: error | ||
compression-level: 0 | ||
overwrite: false |
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 |
---|---|---|
|
@@ -16,6 +16,13 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
debugger-macos: | ||
uses: ./.github/workflows/desktop-macos.yml | ||
debugger-linux: | ||
uses: ./.github/workflows/desktop-linux.yml | ||
debugger-win: | ||
uses: ./.github/workflows/desktop-win.yml | ||
|
||
publish: | ||
runs-on: macos-latest | ||
|
||
|
@@ -72,6 +79,13 @@ jobs: | |
commitMode: true | ||
configuration: ".github/changelog_config.json" | ||
|
||
- name: Publish new plugin version | ||
run: ./gradlew debugger:ideplugin:publishPlugin --no-configuration-cache | ||
continue-on-error: true # TODO: Remove once verified works | ||
env: | ||
CHANGELOG: ${{steps.build_changelog.outputs.changelog}} | ||
|
||
# TODO: Use matrix strat and attach artifacts to the release | ||
- name: Create GH release | ||
uses: ncipollo/[email protected] | ||
id: create_release | ||
|
Oops, something went wrong.