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

ci: fix release workflow to enable full features of Linux arm64 packages on GitHub releases #394

Merged
merged 2 commits into from
Sep 24, 2023

Conversation

eitsupi
Copy link
Collaborator

@eitsupi eitsupi commented Sep 24, 2023

Fix #393

@eitsupi eitsupi requested a review from sorhawell September 24, 2023 09:59
@eitsupi eitsupi changed the title ci: fix release workflow to enable full features of arm64 packages ci: fix release workflow to enable full features of arm64 packages on GitHub releases Sep 24, 2023
@eitsupi
Copy link
Collaborator Author

eitsupi commented Sep 24, 2023

It seems working.

https://github.com/pola-rs/r-polars/actions/runs/6289367961/job/17075802742?pr=394#step:12:27

if [ -f "/home/runner/work/r-polars/r-polars/src/../inst/libr_polars.a" ]; then \
	echo "refer directly to a precompiled object file + skip cargo build"; \
	mkdir -p ./rust/target/release-optimized ; \
	mv /home/runner/work/r-polars/r-polars/src/../inst/libr_polars.a ./rust/target/release-optimized/libr_polars.a ; \
	exit 0 ; \
fi && \
if [ "true" != "true" ]; then \
	export CARGO_HOME=/home/runner/work/r-polars/r-polars/src/.cargo; \
fi && \
export PATH="/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/runner/.cargo/bin" && \
if [ "true" = "true" ]; then \
	cargo build --target=x86_64-unknown-linux-gnu --lib --profile release-optimized --manifest-path="/home/runner/work/r-polars/r-polars/src/rust/Cargo.toml" --features "full_features"; \
else \
	cargo build --target=x86_64-unknown-linux-gnu --lib --profile release-optimized --manifest-path="/home/runner/work/r-polars/r-polars/src/rust/Cargo.toml"; \
fi
    Updating crates.io index
   Compiling arrow2 v0.17.4
   Compiling polars-arrow v0.32.0 (https://github.com/pola-rs/polars.git?rev=ec0c91f93fcd1ac355c667d6c3c3f30b257ea0a6#ec0c91f9)
   Compiling polars-core v0.32.0 (https://github.com/pola-rs/polars.git?rev=ec0c91f93fcd1ac355c667d6c3c3f30b257ea0a6#ec0c91f9)
   Compiling polars-ops v0.32.0 (https://github.com/pola-rs/polars.git?rev=ec0c91f93fcd1ac355c667d6c3c3f30b257ea0a6#ec0c91f9)
   Compiling argminmax v0.6.1
   Compiling polars v0.32.0 (https://github.com/pola-rs/polars.git?rev=ec0c91f93fcd1ac355c667d6c3c3f30b257ea0a6#ec0c91f9)
   Compiling polars-error v0.32.0 (https://github.com/pola-rs/polars.git?rev=ec0c91f93fcd1ac355c667d6c3c3f30b257ea0a6#ec0c91f9)
   Compiling polars-utils v0.32.0 (https://github.com/pola-rs/polars.git?rev=ec0c91f93fcd1ac355c667d6c3c3f30b257ea0a6#ec0c91f9)
   Compiling polars-row v0.32.0 (https://github.com/pola-rs/polars.git?rev=ec0c91f93fcd1ac355c667d6c3c3f30b257ea0a6#ec0c91f9)

@eitsupi eitsupi changed the title ci: fix release workflow to enable full features of arm64 packages on GitHub releases ci: fix release workflow to enable full features of Linux arm64 packages on GitHub releases Sep 24, 2023
@eitsupi eitsupi merged commit 9df6c7d into pola-rs:main Sep 24, 2023
17 checks passed
@eitsupi eitsupi deleted the fix-make branch September 24, 2023 10:07
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.

simd does not seem enabled on cross compiled releases
2 participants