Skip to content

Commit 4cf48fc

Browse files
committed
Use a customized codeql configration
- specifying directories to scan - Refactor build script for WAMR project - add functions for wamrc and iwasm builds - streamline options handling - include LLVM installation steps.
1 parent 8f8c560 commit 4cf48fc

File tree

3 files changed

+242
-389
lines changed

3 files changed

+242
-389
lines changed

.github/codeql/codeql_config.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright (C) 2019 Intel Corporation. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
paths:
4+
- .github
5+
- core/iwasm
6+
- core/shared/platform/common/
7+
- core/shared/platform/include/
8+
- core/shared/platform/linux/
9+
- product-mini/platforms/common/
10+
- product-mini/platforms/linux/
11+
# TODO: add other platforms back if able to do cross-compilation
12+
# - product-mini/platforms/
13+
# TODO: add samples back after buildscript modification
14+
# - need to ignore workloads and wasm-apps
15+
# - samples
16+
- wamr-compiler/
17+
paths-ignore:
18+
# always ignore build
19+
- '**/build/**'
20+
- '**/test*/**'
21+
- '**/wasm-app*/**'
22+
- core/deps/
23+
# platform specific
24+
- core/iwasm/aot/arch/aot_reloc_aarch64.c
25+
- core/iwasm/aot/arch/aot_reloc_arc.c
26+
- core/iwasm/aot/arch/aot_reloc_arm.c
27+
- core/iwasm/aot/arch/aot_reloc_dummy.c
28+
- core/iwasm/aot/arch/aot_reloc_mips.c
29+
- core/iwasm/aot/arch/aot_reloc_riscv.c
30+
- core/iwasm/aot/arch/aot_reloc_thumb.c
31+
- core/iwasm/aot/arch/aot_reloc_xtensa.c
32+
- core/iwasm/libraries/lib-rats/
33+
- core/iwasm/libraries/lib-socket/
34+
- core/iwasm/libraries/lib-wasi-threads/*-test/
35+
- core/shared/platform/common/freertos/
36+
- core/shared/platform/common/math/
37+
#TODO: add me back if lldb libraries installed
38+
- core/iwasm/compilation/debug/
39+
# spend disk space and slow
40+
- core/iwasm/libraries/wasi-nn/src/wasi_nn_tflite*
41+
#TODO: add me back if openvino installed
42+
- core/iwasm/libraries/wasi-nn/src/wasi_nn_openvino*
43+
# for wasm
44+
- core/iwasm/libraries/wasi-nn/include/wasi_nn.h
45+
# reference
46+
- core/iwasm/common/arch/invokeNative_general.c

0 commit comments

Comments
 (0)