Add iOS build targets
This commit is contained in:
parent
754aa5aaa4
commit
ccb9c5b3aa
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -4,7 +4,7 @@ on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@ -32,7 +32,7 @@ jobs:
|
||||
publish:
|
||||
needs: check
|
||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.check.result == 'success'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -71,6 +71,8 @@ subprojects {
|
||||
browser()
|
||||
nodejs()
|
||||
}
|
||||
|
||||
ios()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
package com.github.michaelbull.result.coroutines
|
||||
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import kotlin.coroutines.CoroutineContext
|
||||
|
||||
actual fun runBlockingTest(context: CoroutineContext, testBody: suspend CoroutineScope.() -> Unit) {
|
||||
runBlocking {
|
||||
testBody(this)
|
||||
}
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
package com.github.michaelbull.result
|
||||
|
||||
internal actual object BindException : Exception()
|
Loading…
Reference in New Issue
Block a user