Skip to content

Commit f226161

Browse files
committed
sobbing
1 parent 2df36ce commit f226161

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ jobs:
3333
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }}
3434
restore-keys: |
3535
${{ runner.os }}-gradle-
36-
- name: Install Cross
37-
run: cargo install cross --git https://github.com/cross-rs/cross
36+
- name: Set up GCC
37+
uses: egor-tensin/setup-gcc@v1
38+
with:
39+
version: latest
40+
platform: x64
3841
- name: Build and publish artifacts
3942
run: ./gradlew publish --info --stacktrace
4043
env:

native/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ tasks {
163163
doFirst {
164164
for (target in RUST_TARGETS) {
165165
execOperations.exec {
166-
commandLine(if (target.isHost()) "cargo" else "cross")
166+
commandLine("cargo")
167167

168168
val args = mutableListOf(
169169
"build", "--release",

0 commit comments

Comments
 (0)