Skip to content

v0.15.0 apiproxy: true streaming passthrough, /_version endpoint, con… #34

v0.15.0 apiproxy: true streaming passthrough, /_version endpoint, con…

v0.15.0 apiproxy: true streaming passthrough, /_version endpoint, con… #34

Workflow file for this run

name: Build Multi-Platform Binaries
on:
push:
tags:
- 'v*'
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- x86_64-pc-windows-gnu
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnai/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
- name: Install MinGW (Windows)
if: matrix.target == 'x86_64-pc-windows-gnu'
run: sudo apt-get update && sudo apt-get install -y mingw-w64
- name: Build binary
run: cargo build --release --target ${{ matrix.target }} -p omnimcode-ffi
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: omnimcode-${{ matrix.target }}
path: target/${{ matrix.target }}/release/