-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ks/UpdatingWasmImplementation' into jb/kotlin-2.0.20
# Conflicts: # .github/workflows/build_mac.yml # convention-plugins/src/main/kotlin/wasm-setup.gradle.kts # gradle/libs.versions.toml # gradle/wrapper/gradle-wrapper.properties # kotlin-js-store/yarn.lock # samples/sample-production/gradle/wrapper/gradle-wrapper.properties # samples/sample/gradle/wrapper/gradle-wrapper.properties
- Loading branch information
Showing
18 changed files
with
538 additions
and
422 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
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,51 @@ | ||
name: build Windows | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout the repo | ||
uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v2 | ||
with: | ||
distribution: "adopt" | ||
java-version: "17" | ||
- name: Install msys2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: MINGW64 | ||
update: true | ||
install: git mingw-w64-x86_64-toolchain | ||
- name: Validate Gradle Wrapper | ||
uses: gradle/wrapper-validation-action@v1 | ||
- name: Cache gradle | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Cache konan | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.konan | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Build | ||
run: ./gradlew mingwX64Test --no-daemon --stacktrace --build-cache | ||
env: | ||
S3_BUILD_CACHE_AWS_REGION: ${{ secrets.S3_BUILD_CACHE_AWS_REGION }} | ||
S3_BUILD_CACHE_BUCKET_NAME: ${{ secrets.S3_BUILD_CACHE_BUCKET_NAME }} | ||
S3_BUILD_CACHE_ACCESS_KEY_ID: ${{ secrets.S3_BUILD_CACHE_ACCESS_KEY_ID }} | ||
S3_BUILD_CACHE_SECRET_KEY: ${{ secrets.S3_BUILD_CACHE_SECRET_KEY }} | ||
CI: "true" | ||
|
||
env: | ||
GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m" |
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,46 @@ | ||
# Contributing to a Touchlab Project | ||
|
||
## License | ||
By contributing you agree for your contribution to be licensed under the same license as the project which can be found in the LICENSE file. | ||
If no LICENSE file is present, all intellectual property rights for the project and contributions to the project are reserved by Touchlab. | ||
|
||
## Opening an issue | ||
Issues can be useful for reporting bugs and requesting features. | ||
If you simply have a question about the project or how to use it, please instead reach out in the [Kotlinlang touchlab-tools channel](https://kotlinlang.slack.com/archives/CTJB58X7X) | ||
|
||
### Reporting a Bug | ||
When reporting a problem with the project please provide as much detail as possible including: | ||
- The version of the project used as well as other relevant versions (eg: Kotlin, Android, iOS) | ||
- What behavior was expected | ||
- Steps to reproduce | ||
|
||
#### Sample Project | ||
Sharing a simple sample project which reproduces the issue is **immensely** helpful. | ||
Issues are often caused by project specific configurations and uses which are not practical for us to derive from a bug report. | ||
A reproducing project is often the first thing we ask for on difficult bugs and going through the process will help you make a more informed bug report. | ||
|
||
### Requesting an Enhancement | ||
We get a lot of great feedback from the community about how they use our projects and what can make them better. | ||
If you'd like to suggest an improvement that is not fixing a defect, please label it as an Enhancement. | ||
Share as much info as you can about your use case and how you would expect the enhancement might work. | ||
Please understand that even great ideas might not fit in with our vision for the project and, even if we don't implement them, we greatly appreciate your input | ||
|
||
## Submitting a PR | ||
We appreciate community members who are excited for our projects and willing to help improve them! | ||
|
||
### Before Submitting a PR | ||
If you are considering making a significant change, **please get in contact with us** before commiting a significant amount of time and effort. | ||
Even well thought out and constructed PRs sometimes do not fit into the current goals of the project and we would hate for anyone to feel their time is wasted. | ||
To discuss changes you can first [submit an issue](#opening-an-issue) documenting the bug or enhancement. Alternatively you can reach out in the [Kotlinlang touchlab-tools channel](https://kotlinlang.slack.com/archives/CTJB58X7X) | ||
|
||
### When Submitting a PR | ||
Please be sure to check that no tests are broken and relevant tests have been added. | ||
Include documentation updates for any changes to behavior or usage. | ||
Be as detailed as possible in your PR comments about what has changed and how to test it. | ||
|
||
## Other Ways To Help | ||
- Test and comment on other's contributions | ||
- Review PR's | ||
- Confirm issues and provide reproducers | ||
- Star the repository | ||
- Share the project with other developers |
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,6 @@ kotlin { | |
} | ||
jvm() | ||
js { | ||
browser() | ||
nodejs() | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -19,7 +19,6 @@ plugins { | |
|
||
kotlin { | ||
js { | ||
browser() | ||
nodejs() | ||
} | ||
|
||
|
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 |
---|---|---|
|
@@ -26,7 +26,6 @@ kotlin { | |
} | ||
jvm() | ||
js { | ||
browser() | ||
nodejs() | ||
} | ||
|
||
|
Oops, something went wrong.