feat: omc_spawn + omc_pipe process execution builtins #44
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/ |