mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-03 13:50:57 +00:00
[host] linux: build pull requests and master with GitHub Actions
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -32,3 +32,22 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd module
|
cd module
|
||||||
make
|
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)
|
||||||
|
Reference in New Issue
Block a user