Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-22.04]
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-22.04, ubuntu-24.04-riscv]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -101,6 +101,11 @@ jobs:
env:
GITUI_RELEASE: 1
run: make release-linux-arm
- name: Build Release Linux RISCV64
if: matrix.os == 'ubuntu-24.04-riscv'
env:
GITUI_RELEASE: 1
run: make release-linux-riscv64

- name: Set SHA
if: matrix.os == 'macos-latest'
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ build-linux-arm-release:
cargo build --release --target=armv7-unknown-linux-gnueabihf --locked
cargo build --release --target=arm-unknown-linux-gnueabihf --locked

release-linux-riscv64:
cargo build --release --locked
strip target/release/gitui
mkdir -p release
tar -C ./target/release/ -czvf ./release/gitui-linux-riscv64.tar.gz ./gitui

test:
cargo nextest run --workspace

Expand Down