From 69a4dffddc67ac160c33afc7a035e422c9e3e9c1 Mon Sep 17 00:00:00 2001 From: Quantum Date: Thu, 14 Jan 2021 04:51:49 -0500 Subject: [PATCH] [host] linux: build pull requests and master with GitHub Actions --- .github/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa6cfe27..4dfd0cca 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,3 +32,22 @@ jobs: run: | cd module make + + host-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + with: + submodules: recursive + - name: Install Linux host dependencies + run: | + sudo apt-get install binutils-dev libgl1-mesa-dev + - name: Configure Linux host + run: | + mkdir host/build + cd host/build + cmake .. + - name: Build Linux host + run: | + cd host/build + make -j$(nproc)