Skip to content

Conversation

@dschuff
Copy link
Member

@dschuff dschuff commented Oct 9, 2025

Using a file will make it easier to set configurations from an earlier step to a later one, or to use a different configuration for the main and other branches.

Also dump some additional log info after building.

@dschuff dschuff requested a review from sbc100 October 9, 2025 21:53
command: |
mkdir -p ~/.ccache
cat .circleci/ccache.conf
cp .circleci/ccache.conf ~/.ccache
Copy link
Collaborator

Choose a reason for hiding this comment

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

You could just do stuff like echo "debug = true\n" >> ~/.ccache/ccache.conf instead of checking in a new file, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. I figured if we have several lines it would be better to have a file than a bunch of echos though?

Copy link
Member Author

Choose a reason for hiding this comment

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

Or a heredoc style echo could be good, but I didn't know if that would compose well with YAML.

@dschuff
Copy link
Member Author

dschuff commented Oct 9, 2025

Going to land this for now to keep experimenting, I can switch it later if we want to keep a persistent config.

@dschuff dschuff merged commit fbf6b6d into emscripten-core:main Oct 9, 2025
21 of 34 checks passed
@sbc100
Copy link
Collaborator

sbc100 commented Oct 9, 2025

Going to land this for now to keep experimenting, I can switch it later if we want to keep a persistent config.

echo SOMETHING >> file is actually pretty common in github actions yaml script IIRC (its how to persist bach env vars I think).

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.

2 participants