Skip to content

Commit 7bb4def

Browse files
committed
Add Linux Mips support
1 parent f38b5e6 commit 7bb4def

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/workflows/release.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,20 @@ jobs:
2424
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
2525
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
2626
run: ./gradlew build publish
27+
28+
publish-mips:
29+
needs: publish
30+
runs-on: ubuntu-latest
31+
32+
steps:
33+
- uses: actions/checkout@v3
34+
- uses: actions/setup-java@v3
35+
with:
36+
distribution: 'zulu'
37+
java-version: 19
38+
- name: Build and publish mips artifacts
39+
env:
40+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
41+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
42+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
43+
run: ./gradlew publishMips

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,6 @@ hs_err_pid*
6060

6161
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
6262
!gradle/wrapper/gradle-wrapper.jar
63+
64+
# Avoid MacOS specific stuff
65+
.DS_Store

build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ kotlin {
3030
}
3131
}
3232

33-
linuxArm64()
3433
linuxArm32Hfp()
34+
linuxArm64()
35+
linuxMips32()
36+
linuxMipsel32()
3537
linuxX64()
3638

3739
macosX64()
@@ -72,3 +74,10 @@ kotlin {
7274
}
7375
}
7476
}
77+
78+
tasks.create("publishMips") {
79+
dependsOn(
80+
"publishLinuxMips32PublicationToMavenCentralRepository",
81+
"publishLinuxMipsel32PublicationToMavenCentralRepository"
82+
)
83+
}

0 commit comments

Comments
 (0)