Skip to content

Commit 06a02c1

Browse files
committed
++
1 parent fc1eb98 commit 06a02c1

5 files changed

Lines changed: 29 additions & 4 deletions

File tree

.github/workflows/fedora.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
name: Fedora
3+
4+
on:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
name: Fedora
10+
runs-on: ubuntu-latest
11+
container: fedora:40
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
submodules: true
16+
17+
- run: |
18+
sudo dnf install -y libXcursor-devel libXrandr-devel libXinerama-devel libXi-devel
19+
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix
20+
chmod +x mkn
21+
PATH="$PWD:$PATH" ./mkn.sh
22+
./mkn clean build -dtOa -fPIC -p all
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
name: Build on Ubuntu
2+
name: Ubuntu
33

44
on:
55
pull_request:

inc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
GL*
22
glm
3+
gli

mkn.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ do_incs() {
88
cp -r dep/gl/inc/GL/* inc/GL/
99
cp -r dep/glew/g/include/GL/* inc/GL/
1010
cp -r dep/glu/g/include/GL/* inc/GL
11-
cp -r dep/glfw/g/include/* inc/
11+
cp -r dep/glfw/g/include/* inc
1212
cp -r dep/glm/g/glm inc/
13+
cp -r dep/gli/g/gli inc/
1314
}
1415

1516
[ ! -d "inc/GL" ] && do_incs

mkn.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#! clean build test run -tOqp rocm -x res/mkn/hipcc -W
1+
#! clean build -dtOa -fPIC -p all
22

3-
name: mkn.gpu
3+
name: mkn.gl
44
parent: all
55

66
profile:
@@ -29,3 +29,4 @@ profile:
2929
gl.glew&dep/glew
3030
gl.glfw&dep/glfw
3131
gl.glm&dep/glm
32+
gl.gli&dep/gli

0 commit comments

Comments
 (0)