-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add Linux Mips support #16
Conversation
.github/workflows/release.yaml
Outdated
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }} | ||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }} | ||
run: ./gradlew build publishMips -x check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I'd bother with running build
(and needing to exclude check
) here.
I think instead we make this job depend on the other one so that we know build
has already succeeded and we are only concerned with publishing these two targets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to split the jobs, we need to cache the build artifact from the other job (we are not doing step both run in 2 independent containers), which is more effort. (I did that here and you will need this as well to understand it).
The check we can skip since a) it did run already with MacOS and b) the container will not execute the tests since it does not run on MIPS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, looks like you already have the needs: publish
. I must have missed it first time around because I was reviewing on mobile. My bad. That's all I was saying we needed.
So yeah the only thing left is why do build publishMips -x check
instead of only publishMips
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad...you are absolutely right.
build.gradle.kts
Outdated
linuxX64() | ||
linuxMips32() | ||
linuxMipsel32() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linuxX64() | |
linuxMips32() | |
linuxMipsel32() | |
linuxMips32() | |
linuxMipsel32() | |
linuxX64() |
(The current list is alphabetized)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, kinda. I see I put 32 after 64 above 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done (if I got it correctly)
77249a7
to
9ebdb08
Compare
You accidentally checked in a |
9ebdb08
to
912e1c5
Compare
build.gradle.kts
Outdated
linuxMips32() | ||
linuxMipsel32() | ||
linuxArm64() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now Arm64 comes after Arm32 👍 In total I'm not sure this new list is an improvement when it comes to alphabetical ordering, though 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tell me what you prefer
build.gradle.kts
Outdated
linuxMips32() | ||
linuxMipsel32() | ||
linuxArm64() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linuxMips32() | |
linuxMipsel32() | |
linuxArm64() | |
linuxArm64() | |
linuxMips32() | |
linuxMipsel32() |
912e1c5
to
91ad47a
Compare
91ad47a
to
7bb4def
Compare
Thanks 👍 |
I thank you for the effort! |
No description provided.