r-Techsupport / hyde

A web editor and CMS for Jekyll/git static sites.
GNU General Public License v3.0
4 stars 2 forks source link

Automatic builds #14

Closed zleyyij closed 1 month ago

zleyyij commented 1 month ago

This would complete the CD portion of our pipeline, and is probably connected to [#13] in some form

PipeItToDevNull commented 1 month ago

The syn package won't compile for the arm64 image. amd64 builds fine

#18 106.8 error: could not compile `syn` (lib)
#18 106.8 
#18 106.8 Caused by:
#18 106.8   process didn't exit successfully: `rustc --crate-name syn --edition=2021 /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.65/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="visit-mut"' -C metadata=0ec71765fdbc0b72 -C extra-filename=-0ec71765fdbc0b72 --out-dir /app/backend/target/release/deps -C strip=debuginfo -L dependency=/app/backend/target/release/deps --extern proc_macro2=/app/backend/target/release/deps/libproc_macro2-3e7ab99e5dd418a5.rmeta --extern quote=/app/backend/target/release/deps/libquote-e30613fd547d174f.rmeta --extern unicode_ident=/app/backend/target/release/deps/libunicode_ident-94891640d59accc2.rmeta --
#18 106.8 warning: build failed, waiting for other jobs to finish...
#18 ERROR: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101
PipeItToDevNull commented 1 month ago

This may be relevant but it did not resolve the issue https://cjwebb.com/rust-github-actions-on-arm/

PipeItToDevNull commented 1 month ago

I posted a Q about it https://users.rust-lang.org/t/github-actions-cannot-compile-arm64-rust-container/112612

PipeItToDevNull commented 1 month ago

This was something else others talked about but it doesnt make much sense https://www.reddit.com/r/rust/comments/qjqubz/crosscompile_docker_container_in_github_actions/

FROM --platform=$BUILDPLATFORM alpine as builder 
PipeItToDevNull commented 1 month ago

ARM runners just got released but they are not avail to free tiers yet https://github.blog/2024-06-03-arm64-on-github-actions-powering-faster-more-efficient-build-systems/

Closing this ticket with just amd64 builds will be fine and I will create a new issue to track the arm64 build that will be possible in the future.