-
-
Notifications
You must be signed in to change notification settings - Fork 79
25 lines (23 loc) · 620 Bytes
/
Copy pathlinux.yml
File metadata and controls
25 lines (23 loc) · 620 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: 🐧 Linux
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
compiler: [g++, clang++]
runs-on: ubuntu-latest
name: 🐧 Linux (${{ matrix.compiler }})
steps:
- uses: actions/checkout@main
- name: Prepare Environment
run: |
sudo apt-get update
sudo apt-get install mesa-common-dev xorg-dev
- name: Configure
run: |
cd example
cmake -B build -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DIMPLOT3D_STRICT_WARNINGS=ON
- name: Build
run: |
cd example
cmake --build build