Skip to content
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

Update CI deployment #139

Merged
merged 3 commits into from
Jul 15, 2024
Merged

Update CI deployment #139

merged 3 commits into from
Jul 15, 2024

Conversation

patrickelectric
Copy link
Contributor

At the moment, it appears that musl targets are not working: rust-windowing/winit#1818
To use gnu, it's necessary to use glib 2.27, for that, cross need to be installed manually from development branch: cross-rs/cross#1510

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
…for linux

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
It's failing with the latest changes

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
@patrickelectric
Copy link
Contributor Author

ping @emilk

Comment on lines +135 to +138
- name: Install build dependencies - Rustup
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable --profile default --target ${{ matrix.TARGET }} -y
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
Copy link
Owner

Choose a reason for hiding this comment

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

Why this instead of using actions-rs/toolchain?

Copy link
Contributor Author

@patrickelectric patrickelectric Jul 13, 2024

Choose a reason for hiding this comment

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

This action is deprecated/archived and I think that the usage is not recommended.
image

Copy link

Choose a reason for hiding this comment

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

@patrickelectric did you consider using dtolnay/rust-toolchain? Its what I've done in my own little hotfix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @9SMTM6! Ill take a look.

Copy link

@9SMTM6 9SMTM6 Jul 20, 2024

Choose a reason for hiding this comment

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

@patrickelectric I'm currently testing a pretty big rewrite of this toolchain on my app. So perhaps wait.

One of the core issues was the heavy usage of cross. I was able to remove all usages of cross other than for arm64 linux. The other was that this PR still leaves A LOT of uses of actions-rs in the pipeline. A bunch of toolchain commands, which I had removed earier in my pipeline, but also a bunch of action-rs/cargo etc actions, I have overlooked these in my own toolchain too.

@emilk emilk merged commit 7fc79c0 into emilk:main Jul 15, 2024
12 checks passed
@emilk emilk mentioned this pull request Jul 15, 2024
@9SMTM6 9SMTM6 mentioned this pull request Jul 20, 2024
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.

3 participants