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