Skip to content

Add readme to each sub-project #4

Add readme to each sub-project

Add readme to each sub-project #4

Workflow file for this run

name: Rust
on:
push:
branches: [ "main", "dev" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
platform: [ windows-latest, macos-latest, ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- name: Build
run: cargo build --all --release --verbose
- name: Strip binaries
if: matrix.platform != 'windows-latest'
run: |
strip target/release/tio-proxy
strip target/release/tio-tool
- name: Upload binaries
uses: actions/upload-artifact@v4
with:
name: twinleaf-tools.${{ matrix.platform }}
path: |
target/release/tio-proxy
target/release/tio-proxy.exe
target/release/tio-tool
target/release/tio-tool.exe