From 359a1497eb929548c6311f40f5d0d87495536208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Vald=C3=A9s?= Date: Wed, 5 Feb 2020 17:12:58 +0100 Subject: [PATCH] Added build actions for linux --- .github/workflows/rust.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fca157e..f4bc3d2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,3 +43,29 @@ jobs: with: name: Neovide.app path: ./target/release/bundle/osx + + build-linux: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install Vulkan SDK + run: | + curl -sL "http://packages.lunarg.com/lunarg-signing-key-pub.asc" | sudo apt-key add - + sudo curl -sLo "/etc/apt/sources.list.d/lunarg-vulkan-1.2.131-bionic.list" "http://packages.lunarg.com/vulkan/1.2.131/lunarg-vulkan-1.2.131-bionic.list" + sudo apt-get update -y + sudo apt-get install -y vulkan-sdk + + - name: Install dependencies + run: | + sudo apt-get install -y curl gnupg ca-certificates git gcc-multilib g++-multilib cmake libssl-dev pkg-config libfreetype6-dev libasound2-dev libexpat1-dev libxcb-composite0-dev libbz2-dev freeglut3-dev libxi-dev + + - name: Build + run: cargo build --release + + - uses: actions/upload-artifact@v1 + with: + name: neovide-linux + path: ./target/release/neovide