File tree 5 files changed +32
-4
lines changed
5 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 57
57
name : lucid-release-build
58
58
path : lucid-raster
59
59
60
+ build-linux :
61
+ runs-on : ubuntu-22.04
62
+ steps :
63
+ - uses : actions/checkout@v4
64
+ with :
65
+ submodules : ' recursive'
66
+
67
+ - name : Install Dependencies
68
+ run : |
69
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
70
+ sudo apt update
71
+ sudo apt-get install libsdl2-dev libfreetype-dev libvorbis-dev libogg-dev libopenal-dev libdwarf-dev libelf-dev
72
+ wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
73
+ sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
74
+ sudo apt update
75
+ sudo apt install libvulkan-dev shaderc glslang-dev vulkan-headers
76
+
77
+ - name : Build libfwk
78
+ run : |
79
+ cd libfwk
80
+ make -j8 lib MODE=devel FWK_GEOM=disabled
81
+
82
+ - name : Build Lucid
83
+ run : |
84
+ make -j8 lucid
85
+
86
+
60
87
check-formatting :
61
88
runs-on : ubuntu-22.04
62
89
steps :
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ BUILD_SUBDIRS =
24
24
25
25
ifndef JUNK_GATHERING
26
26
_dummy := $(shell mkdir -p $(SUBDIRS ) )
27
- _dummy := $(shell mkdir -p $(addprefix $(BUILD_DIR ) /,$(BUILD_SUBDIRS ) ) )
28
27
endif
29
28
30
29
# --- List of source files ------------------------------------------------------------------------
31
30
32
31
SRC := lucid_app lucid_renderer simple_renderer pbr_renderer scene scene_setup scene_convert \
33
- shading texture_atlas wavefront_obj meshlet quad_generator tri_optimizer path_tracer bvh
32
+ shading texture_atlas wavefront_obj meshlet quad_generator tri_optimizer path_tracer \
33
+ extern_impl
34
34
PROGRAM_SRC := lucid
35
35
ALL_SRC := $(PROGRAM_SRC ) $(SRC )
36
36
Original file line number Diff line number Diff line change 6
6
#include " ../extern/stb_image_write.h"
7
7
8
8
#define TINYEXR_USE_MINIZ 0
9
+ #define TINYEXR_USE_OPENMP 0
9
10
#define TINYEXR_USE_STB_ZLIB 1
10
11
#define TINYEXR_IMPLEMENTATION
11
12
Original file line number Diff line number Diff line change 11
11
#include < fwk/math_base.h>
12
12
#include < fwk/sys/expected.h>
13
13
14
+ using namespace fwk ;
15
+
14
16
#define ORDER_BY FWK_ORDER_BY
15
17
16
18
FilePath mainPath ();
Original file line number Diff line number Diff line change 23
23
24
24
#define DUMP FWK_DUMP
25
25
#define FATAL FWK_FATAL
26
-
27
- using namespace fwk ;
You can’t perform that action at this time.
0 commit comments