-
Notifications
You must be signed in to change notification settings - Fork 0
Added a matrix of 4 targets for CI builds #70
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
Conversation
fdc8883
to
5dac68e
Compare
5dac68e
to
fe5777d
Compare
9686a11
to
79f25da
Compare
CARGO_MAKE_RUN_CHECK_FORMAT = true | ||
RUSTFLAGS="-D warnings" | ||
sudo apt-get install musl-tools | ||
sudo ln -s /usr/bin/musl-gcc /usr/bin/musl-g++ |
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.
This extra step is needed to compiler C++ files with musl. Seems odd that musl-g++
isn't installed by default...
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.
It is a bit odd, but at least there's precedent, this is what I've used to build musl in the past: https://github.com/emk/rust-musl-builder/blob/master/Dockerfile#L74
- name: Install LLVM and Clang # required for bindgen on Windows | ||
uses: KyleMayes/install-llvm-action@v1 | ||
if: matrix.os == 'windows-2019' | ||
with: | ||
version: "10.0" |
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.
We also need to manually install LLVM/Clang for bindgen to execute correctly on windows...
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.
Clang and LLVM should already be installed, but the environment vars on GitHub actions are supposedly a mess... so could be that reinstalling with this action just puts the environment in a good state.
@@ -0,0 +1,25 @@ | |||
[env] |
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 moved this into a dedicated file since cat
ing it together wouldn't work on a Windows shell. Is there a better alternative?
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 think this is fine, I don't think there was a specific reason to keep the makefile.toml inside the ci config
No description provided.