Skip to content

Commit 94cb1a7

Browse files
committed
workflow
1 parent 607a677 commit 94cb1a7

3 files changed

Lines changed: 55 additions & 0 deletions

File tree

.github/workflows/linux.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Linux OS(Ubuntu) compilation
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
branches:
9+
- 'main'
10+
11+
jobs:
12+
build_linux:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
submodules: 'recursive'
18+
- run: |
19+
sudo apt install xorg-dev libopengl-dev libgl1-mesa-dev
20+
sudo apt install libglfw3 libglfw3-dev
21+
make

.github/workflows/windows.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Windows OS compilation
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
pull_request:
8+
branches:
9+
- 'main'
10+
11+
jobs:
12+
build_windows:
13+
runs-on: windows-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
submodules: 'recursive'
18+
- uses: msys2/setup-msys2@v2
19+
with:
20+
msystem: mingw64
21+
install: >-
22+
make
23+
mingw-w64-x86_64-gcc
24+
mingw-w64-x86_64-glfw
25+
mingw-w64-x86_64-pkgconf
26+
- shell: msys2 {0}
27+
run: |
28+
pwd
29+
make

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# ImGui Knobs
2+
3+
4+
![alt](https://github.com/dinau/cimgui-knobs/actions/workflows/windows.yml/badge.svg)
5+
![alt](https://github.com/dinau/cimgui-knobs/actions/workflows/linux.yml/badge.svg)
6+
27
This is a port/adaptation of [imgui-rs-knobs](https://github.com/DGriffin91/imgui-rs-knobs), for C++.
38

49
![image](https://user-images.githubusercontent.com/956928/164050142-96a8dde4-7d2e-43e4-9afe-14ab48eac243.png)

0 commit comments

Comments
 (0)