-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (22 loc) · 761 Bytes
/
linux.yml
File metadata and controls
26 lines (22 loc) · 761 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
26
name: Build Linux
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential cmake libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev
- name: Configure CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build
- name: Make Executable
run: chmod +x build/src/complex-plotter
- name: Upload Linux Binary
uses: actions/upload-artifact@v4
with:
name: complex-plotter-linux
path: build/src/complex-plotter