From 9e2158498cc9ca7a4a424374b433b0154666c695 Mon Sep 17 00:00:00 2001 From: Rahul Iyer Date: Tue, 4 Feb 2020 00:06:31 +0530 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..e237349 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,33 @@ +name: Rust + +on: [push] + +jobs: + build-windows: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + - name: Build + run: cargo build --release + - uses: actions/upload-artifact@v1 + with: + name: neovide-windows.exe + path: ./target/release/neovide.exe + + build-mac: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v2 + - name: Install Vulkan SDK + run: | + brew cask install apenngrace/vulkan/vulkan-sdk + - name: Build + run: cargo build --release + - uses: actions/upload-artifact@v1 + with: + name: neovide-macos + path: ./target/release/neovide