Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: task dependency #167

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@ jobs:
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

- name: "Install Docker"
if: matrix.os-type == 'macos'
run: |
brew install --cask docker

- name: "Open Docker"
if: matrix.os-type == 'macos'
run: |
open --background /Applications/Docker.app --args --unattended &

- name: Wait for Docker
run: sleep 10

# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3

- name: "Install autoconf, automake, libtool"
if: matrix.os-type == 'macos'
run: |
Expand All @@ -75,6 +91,11 @@ jobs:

- name: "Install wasm-pack"
run: cargo install wasm-pack

- name: "Install Cross"
if: matrix.os-type == 'macos'
run: |
cargo install cross --git https://github.com/cross-rs/cross

- name: "Test Kotlin code is properly formatted"
run: ./gradlew ktlintCheck
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
~/.gradle/caches
~/.gradle/wrapper
~/.konan
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}"
restore-keys: |
${{ runner.os }}-gradle-

Expand Down
11 changes: 8 additions & 3 deletions apollo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ kotlin {
implementation("org.kotlincrypto.macs:hmac-sha2:0.3.0")
implementation("org.kotlincrypto.hash:sha2:0.4.0")
implementation("com.squareup.okio:okio:3.7.0")
implementation("org.jetbrains.kotlinx:atomicfu:0.23.1")
implementation("org.jetbrains.kotlinx:atomicfu:0.23.2")
}
}
val commonTest by getting {
Expand Down Expand Up @@ -646,6 +646,7 @@ kotlin {
.resolve("kotlin")
)
}
applyDefaultHierarchyTemplate()

all {
languageSettings {
Expand Down Expand Up @@ -846,8 +847,12 @@ afterEvaluate {
tasks.withType<KtLintCheckTask> {
// dependsOn(buildEd25519Bip32Task)
}
tasks.getByName("androidDebugSourcesJar").dependsOn(copyEd25519Bip32GeneratedTask)
tasks.getByName("androidReleaseSourcesJar").dependsOn(copyEd25519Bip32GeneratedTask)
tasks.withType<org.gradle.jvm.tasks.Jar> {
dependsOn(copyEd25519Bip32GeneratedTask)
}

tasks.getByName("androidDebugSourcesJar").dependsOn(copyToAndroidSrc)
tasks.getByName("androidReleaseSourcesJar").dependsOn(copyToAndroidSrc)

tasks.getByName("mergeDebugJniLibFolders").dependsOn(buildEd25519Bip32Task)
tasks.getByName("mergeReleaseJniLibFolders").dependsOn(buildEd25519Bip32Task)
Expand Down
2 changes: 1 addition & 1 deletion rust-ed25519-bip32
Loading