This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #21 from BaseMC/develop
Some updates from upstream
- Loading branch information
Showing
10 changed files
with
143 additions
and
26 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,5 +1,5 @@ | ||
version: "1" | ||
rules: | ||
- base: master | ||
- base: develop | ||
upstream: fesh0r:master | ||
label: ":arrow_heading_down: pull" |
4 changes: 2 additions & 2 deletions
4
.github/workflows/master-pull.yml → .github/workflows/develop-pull.yml
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,9 +1,9 @@ | ||
name: Master PR CI | ||
name: Develop PR CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'master' | ||
- 'develop' | ||
|
||
jobs: | ||
test: | ||
|
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,27 @@ | ||
name: Develop CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'develop' | ||
|
||
jobs: | ||
test: | ||
name: Test - Build & Unit | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup - Java | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11.0.x | ||
- name: Setup - Restore Cache | ||
uses: actions/cache@v1 | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Build - Gradle | ||
run: ./gradlew build |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Created-By: 1.8.0_171 (Oracle Corporation) | ||
|
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,26 @@ | ||
package kt; | ||
|
||
import kotlin.Metadata; | ||
import kotlin.Unit; | ||
import kotlin.coroutines.Continuation; | ||
import kotlin.jvm.functions.Function1; | ||
import kotlin.jvm.internal.Intrinsics; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
@Metadata( | ||
mv = {1, 1, 16}, | ||
bv = {1, 0, 3}, | ||
k = 2, | ||
d1 = {"\u0000\u001c\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\u001a,\u0010\u0000\u001a\u00020\u00012\u001c\u0010\u0002\u001a\u0018\b\u0001\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u00050\u0004\u0012\u0006\u0012\u0004\u0018\u00010\u00060\u0003ø\u0001\u0000¢\u0006\u0002\u0010\u0007\u001a\u0006\u0010\b\u001a\u00020\u0001\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\t"}, | ||
d2 = {"callSuspendBlock", "", "block", "Lkotlin/Function1;", "Lkotlin/coroutines/Continuation;", "", "", "(Lkotlin/jvm/functions/Function1;)I", "callSuspendBlockGood", "kotlinx-test"} | ||
) | ||
public final class Kt25937Kt { | ||
public static final int callSuspendBlock(@NotNull Function1<? super Continuation<? super Unit>, ? extends Object> block) { | ||
Intrinsics.checkParameterIsNotNull(block, "block"); | ||
return 1; | ||
} | ||
|
||
public static final int callSuspendBlockGood() { | ||
return 1; | ||
} | ||
} |
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,49 @@ | ||
package kt; | ||
|
||
import kotlin.Metadata; | ||
import kotlin.ResultKt; | ||
import kotlin.Unit; | ||
import kotlin.coroutines.Continuation; | ||
import kotlin.coroutines.intrinsics.IntrinsicsKt; | ||
import kotlin.jvm.functions.Function1; | ||
import kotlin.jvm.internal.Intrinsics; | ||
import org.jetbrains.annotations.NotNull; | ||
import org.jetbrains.annotations.Nullable; | ||
|
||
@Metadata( | ||
mv = {1, 1, 17}, | ||
bv = {1, 0, 3}, | ||
k = 2, | ||
d1 = {"\u0000\b\n\u0000\n\u0002\u0010\b\n\u0000\u001a\u0006\u0010\u0000\u001a\u00020\u0001¨\u0006\u0002"}, | ||
d2 = {"some1", "", "ide-kotlin-test.kotlinx-test.main"} | ||
) | ||
public final class Kt25937_1Kt { | ||
public static final int some1() { | ||
return Kt25937Kt.callSuspendBlock((Function1)(new Function1<Continuation<? super Unit>, Object>((Continuation)null) { | ||
int label; | ||
|
||
@Nullable | ||
public final Object invokeSuspend(@NotNull Object $result) { | ||
Object var2 = IntrinsicsKt.getCOROUTINE_SUSPENDED(); | ||
switch(this.label) { | ||
case 0: | ||
ResultKt.throwOnFailure($result); | ||
return Unit.INSTANCE; | ||
default: | ||
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine"); | ||
} | ||
} | ||
|
||
@NotNull | ||
public final Continuation<Unit> create(@NotNull Continuation<?> completion) { | ||
Intrinsics.checkParameterIsNotNull(completion, "completion"); | ||
Function1 var2 = new <anonymous constructor>(completion); | ||
return var2; | ||
} | ||
|
||
public final Object invoke(Object var1) { | ||
return ((<undefinedtype>)this.create((Continuation)var1)).invokeSuspend(Unit.INSTANCE); | ||
} | ||
})); | ||
} | ||
} |