From 1bbe3c97b3f6e19627e9237e66964e70fdf467cc Mon Sep 17 00:00:00 2001 From: Adrian Wielgosik Date: Fri, 15 Jan 2021 16:39:13 +0100 Subject: [PATCH] desktop: Build windows binaries with crt-static Remove requirement for MSVC redstributables. --- .github/workflows/release_nightlies.yml | 12 +++++++++++- README.md | 4 +--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_nightlies.yml b/.github/workflows/release_nightlies.yml index 31869f753..84822fe3a 100644 --- a/.github/workflows/release_nightlies.yml +++ b/.github/workflows/release_nightlies.yml @@ -104,7 +104,17 @@ jobs: npm run build npm run docs - - name: Build desktop + - name: Build Windows desktop + if: matrix.os == 'windows-latest' + uses: actions-rs/cargo@v1 + with: + command: build + args: --release + env: + RUSTFLAGS: -Ctarget-feature=+crt-static + + - name: Build Mac / Ubuntu + if: matrix.os != 'windows-latest' uses: actions-rs/cargo@v1 with: command: build diff --git a/README.md b/README.md index b2c6230d3..a633d3ffb 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,10 @@ Ruffle is in the proof-of-concept stage and can currently run early Flash animat ## Using Ruffle -The easiest way to try out Ruffle is to visit the [web demo page](https://ruffle.rs/demo/), then click the "Browse..." button to load an SWF file of your choice. +The easiest way to try out Ruffle is to visit the [web demo page](https://ruffle.rs/demo/), then click the "Browse..." button to load an SWF file of your choice. [Nightly builds](https://ruffle.rs/#releases) of Ruffle are available for desktop and web platforms including the browser extension. -Windows desktop builds require the x64 [2015-2019 Visual C++ Redistributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). - For more detailed instructions, see our [wiki page](https://github.com/ruffle-rs/ruffle/wiki/Using-Ruffle). ## Building from source