[host] linux: build pull requests and master with GitHub Actions

This commit is contained in:
Quantum 2021-01-14 04:51:49 -05:00 committed by Geoffrey McRae
parent ec69ae261f
commit 69a4dffddc

View File

@ -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)