[PR #101] [MERGED] Update CD workflows to use use cross #108

Closed
opened 2026-03-14 12:32:33 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/hackernews-TUI/pull/101
Author: @LucasFA
Created: 1/27/2024
Status: Merged
Merged: 2/12/2024
Merged by: @aome510

Base: mainHead: update-CD


📝 Commits (2)

📊 Changes

4 files changed (+26 additions, -24 deletions)

View changed files

📝 .github/workflows/cd.yml (+7 -23)
Cross.toml (+11 -0)
ci/Dockerfile-cross (+7 -0)
📝 hackernews_tui/src/parser/mod.rs (+1 -1)

📄 Description

You and I both know I copy-pasted this, no need to repeat ourselves lol. I changed the dependencies to the ones this project needs, though, of course.

  • build: local cross compilation

With the intention of migrating gh action to native solution with cross

Supported targets: aarch-64-linux-gnu, armv7-unknown-linux-gnueabihf Use cross build --target (target)

Note: docker base images have been updated. See related documentation: https://github.com/cross-rs/cross/wiki/FAQ#custom-images

  • build(cd): use cross for CD

Update container images along with it. Also a couple actions.

Use action-rs/cargo only for the built in support. It is the documented gh actions way in the cross README. Manually would probably increase times significantly.

See Aome510/spotify-player#343


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/hackernews-TUI/pull/101 **Author:** [@LucasFA](https://github.com/LucasFA) **Created:** 1/27/2024 **Status:** ✅ Merged **Merged:** 2/12/2024 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `main` ← **Head:** `update-CD` --- ### 📝 Commits (2) - [`f221ebb`](https://github.com/aome510/hackernews-TUI/commit/f221ebb32c63325a24a66ce3a503f953309dec04) Update CD workflows to use use `cross` - [`7c1d23a`](https://github.com/aome510/hackernews-TUI/commit/7c1d23aefa39f264b5de1f5a92a9d19063319f73) cleanup ### 📊 Changes **4 files changed** (+26 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/cd.yml` (+7 -23) ➕ `Cross.toml` (+11 -0) ➕ `ci/Dockerfile-cross` (+7 -0) 📝 `hackernews_tui/src/parser/mod.rs` (+1 -1) </details> ### 📄 Description You and I both know I copy-pasted this, no need to repeat ourselves lol. I changed the dependencies to the ones this project needs, though, of course. * build: local cross compilation With the intention of migrating gh action to native solution with cross Supported targets: aarch-64-linux-gnu, armv7-unknown-linux-gnueabihf Use cross build --target (target) Note: docker base images have been updated. See related documentation: https://github.com/cross-rs/cross/wiki/FAQ#custom-images * build(cd): use cross for CD Update container images along with it. Also a couple actions. Use action-rs/cargo only for the built in support. It is the documented gh actions way in the cross README. Manually would probably increase times significantly. See Aome510/spotify-player#343 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 12:32:33 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hackernews-TUI#108
No description provided.