Remove obsolete GitHub Actions workflows for building CLI on Linux and Windows

This commit is contained in:
Jérôme Commaret 2026-01-17 20:50:58 +01:00
parent 0b76d136a4
commit b5ed99556f
2 changed files with 0 additions and 110 deletions

View file

@ -1,55 +0,0 @@
name: Build CLI (Linux)
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build-cli:
name: Build CLI (Linux)
runs-on: ubuntu-22.04
timeout-minutes: 60
defaults:
run:
working-directory: cli
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Cache Cargo dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
cli/target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build CLI
run: |
cargo build --release
- name: Run CLI tests
run: |
cargo test
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: void-cli-linux
path: target/release/void

View file

@ -1,55 +0,0 @@
name: Build CLI (Windows)
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build-cli:
name: Build CLI (Windows)
runs-on: windows-2022
timeout-minutes: 60
defaults:
run:
working-directory: cli
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Cache Cargo dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
cli/target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build CLI
run: |
cargo build --release
- name: Run CLI tests
run: |
cargo test
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: void-cli-windows
path: target/release/void.exe