Cross-Compile dependency fix #15
This file contains 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: "Rust" | |
on: [push, pull_request] | |
jobs: | |
upload-artefact: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install MinGW-w64 | |
run: sudo apt-get install -y mingw-w64 | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: "Setup Rust" | |
uses: actions-rust-lang/[email protected] | |
with: | |
target: x86_64-pc-windows-gnu | |
- name: "Build" | |
run: cargo build --target=x86_64-pc-windows-gnu | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test_ci_binary | |
path: target/x86_64-pc-windows-gnu/debug/test_ci.exe |