Skip to content

Add workflow for building binaries #3

Add workflow for building binaries

Add workflow for building binaries #3

Workflow file for this run

---
name: "Robotmk"
on:
push:
paths:
- .github/workflows/robotmk.yaml
pull_request:
paths:
- .github/workflows/robotmk.yaml
workflow_call: {}
jobs:
build_robotmk_from_source:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Setup Rust"
uses: actions-rust-lang/[email protected]
with:
target: x86_64-pc-windows-gnu
- name: "Install MinGW-w64"
run: sudo apt-get install -y mingw-w64
- name: "Build Robotmk Windows"
working-directory: ${{ env.GITHUB_WORKSPACE }}/v2/rust/
run: cargo build --target=x86_64-pc-windows-gnu --release
- name: "Upload Artifact"
uses: actions/upload-artifact@v3
with:
path: |
v2/rust/target/x86_64-pc-windows-gnu/release/robotmk.exe
v2/rust/target/x86_64-pc-windows-gnu/release/robotmk_agent.exe
if-no-files-found: error