From 04abbbec1488db9182f1776b94189e15baac87db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sandstr=C3=B6m?= Date: Sun, 1 Sep 2024 01:29:55 +0200 Subject: [PATCH] compile --- .github/workflows/github-actions-demo.yaml | 2 +- xtask/Cargo.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index b690ccb..875d16e 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -14,9 +14,9 @@ jobs: - uses: actions-rust-lang/setup-rust-toolchain@v1 - run: | export DIR="/Users/runner/work/Havregryn/Havregryn/target/bundled/" + brew install mingw-w64 rustup target add x86_64-apple-darwin rustup target add aarch64-apple-darwin - sudo apt install mingw-w64 rustup target add x86_64-pc-windows-gnu cargo xtask bundle havregryn --target=x86_64-apple-darwin --release cd $DIR diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index fdf74c4..cb7eb25 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -6,3 +6,5 @@ edition = "2021" [dependencies] nih_plug_xtask = { git = "https://github.com/robbert-vdh/nih-plug.git" } +[target.x86_64-pc-windows-gnu] +linker = "x86_64-w64-mingw32-gcc" \ No newline at end of file