-
-
Notifications
You must be signed in to change notification settings - Fork 6
30 lines (28 loc) · 856 Bytes
/
Copy pathLinux.yml
File metadata and controls
30 lines (28 loc) · 856 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
27
28
29
30
name: linux
on:
workflow_dispatch:
push:
branches:
- master
paths-ignore:
- .github/**
jobs:
build_Linux_Ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
token: ${{ secrets.PAT_SUBMODULES }}
submodules: recursive
- name: Install OpenGL lib / Requirement for Glfw3
run : sudo apt-get update && sudo apt-get install libgl1-mesa-dev libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev libwayland-dev
- name: configure
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release
- name: build
run: cmake --build build
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}
path: bin/${{ github.event.repository.name }}*