Skip to content

Conversation

@Caio99BR
Copy link

@Caio99BR Caio99BR commented Oct 2, 2025

@Caio99BR Caio99BR marked this pull request as draft October 2, 2025 12:30
@Caio99BR Caio99BR marked this pull request as ready for review October 2, 2025 12:53
@Caio99BR
Copy link
Author

Caio99BR commented Oct 2, 2025

crueter pushed a commit to Eden-CI/Workflow that referenced this pull request Oct 8, 2025
* build.sh: Keep script consistency across platforms

* add BUILDDIR across all scripts (ref: .ci/linux/package.sh)
* call cmake from "source" to "build" not from build
* extra parameters direct go direct on cmake (ref: .ci/windows/build.sh)

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] check if Android Keys are set

* this haunted me cause there's no name consistency

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] enable sccache to reduce build time

* should be changed to mozilla-actions/sccache-action
  (or cloned to Eden-CI)
  after they fix aarch64 download
  (the problem is, the fix is already on master, but
  it isn't released basically [dist is outdated])

See:
* Mozilla-Actions/sccache-action#225
* Mozilla-Actions/sccache-action#189

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] android: enable gradle cache (android) + sccache (core)

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] keep consistency across platforms and use CPM_CACHE_VERSION

* keep the same name versioning of cache
* clean solution to purge cache, since we can change varible internal
  without necessity of commit

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] cache installation packages, should reduce 1m?

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] Use parallel to improve building time

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] Enable sccache globally

* this explain why sccache is not working on android

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] cleanup some cache things

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] allow building with debug keys for PRs

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] remove merged patch

Signed-off-by: Caio Oliveira <[email protected]>

* [ci] it's if not

Signed-off-by: Caio Oliveira <[email protected]>

---------

Signed-off-by: Caio Oliveira <[email protected]>
@Caio99BR
Copy link
Author

@sylvestre could you check it?

@sylvestre
Copy link
Collaborator

how can i test this myself ? thanks :)

@Caio99BR
Copy link
Author

how can i test this myself ? thanks :)

Well it's just the update of dist/ folder but automatically:

  • fork it
  • Actions > enable Actions > select "Release Action CI" and run workflow
  • If you want to bump version select the checkbox

And its's ready to use, currently im using:
https://github.com/Vee99BR/sccache-action

On Eden-CI:
https://github.com/Vee99BR/Workflow/blob/96de08d25d744434af49ae92f9603ebe69fbb13f/.github/workflows/setup/action.yml#L15

Without this, it's impossible to use on aarch64 builds (it fails cause the commit that fixes aarch64 is not present on dist/)

@Caio99BR
Copy link
Author

Caio99BR commented Nov 2, 2025

Any update?

id: get_version
run: |
git fetch --tags
latest_tag=$(git describe --tags --abbrev=0 || echo "v0.0.0")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using '|| echo' to suppress commit errors could hide real issues, no ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, why v0.0.0 as default ?

# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add comment explain what it is doing

Comment on lines +1 to +2
# Copyright 2023 Mozilla Foundation
#
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Copyright 2023 Mozilla Foundation
#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows AArch64 Download failing for sccache v0.10.0

2 participants