-
Notifications
You must be signed in to change notification settings - Fork 785
Merge main branch into dev/shared_heap #4355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
207 commits
Select commit
Hold shift + click to select a range
68e4534
Iterate callstack API
d0c6da1
wamr bool type
1f4d3dd
clang-format
1b82ccc
meaning of the return bool type in the callback
813831d
keep devs notes out of public API
bf6b155
format
c8b8731
support standard frames as well
9ff8052
format
6bfc088
Calculate func_index instead of adding an extra field to wasm frame
b6daacb
ignore frames with no function
5bfbfd5
update typo in the comment
478b373
update signature
b9039f9
Merge branch 'main' into godjan/iterate_callstack
fb6c05e
add correct frame size for aot standard frames
f7204bd
standard frame is not supported when GC is enabled
b2c7cb2
Use wasm32-wasip1 instead of wasm32-wasi target for rust code (#4057)
loganek c6712b4
add a validator for aot module (#3995)
lum1n0us 41b2c6d
Show wasm proposals status during compilation and execution (#3989)
lum1n0us 67cd504
initial
palchikov e64685f
Add versioning support and update CMake configuration
lum1n0us b144e61
Add versioning information for libraries and executables across multi…
lum1n0us 77e8a7d
Refactor versioning documentation and adopt semantic versioning guide…
lum1n0us 4f7c5af
Remove deprecated version.h file and update versioning documentation
lum1n0us 10f12c0
Add version.h and update versioning documentation for embedded platforms
lum1n0us 2c2829f
Add workflow to confirm version.h is in sync and integrate it into An…
lum1n0us 171d356
Cleanup check_version_h workflow by removing unnecessary outputs and …
lum1n0us 267379c
Merge branch 'main' into godjan/iterate_callstack
376385c
Update memory allocation functions to use allocator user data (#4043)
lum1n0us c99ae24
[fuzzing] execute every exported function (#3959)
lum1n0us e6a47d5
In wasm32, fix potential conversion overflow when enlarging 65536 pag…
TianlongLiang 7b724e2
fix(aot): ensure value_cmp does not exceed br_count in branch table c…
lum1n0us aa05360
build(deps): Bump github/codeql-action from 3.28.8 to 3.28.9 (#4074)
dependabot[bot] 1465c3c
Unit test:type matching issue and code redundancy (#4079)
yangkun27 71bc3c2
Add a conditional check for the macro __STDC_VERSION__ (#4080)
yangkun27 46904dc
build_llvm.py: Allow to build xtensa target on non-xtensa host
no1wudi 1971cac
Merge pull request #4086 from no1wudi/fix
no1wudi d86bd7c
fix(build_llvm.py): clean up whitespace and formatting in build script
no1wudi 159f589
[gc] Subtyping fix (#4075)
vouillon 48b75e0
Merge pull request #4087 from no1wudi/fix
no1wudi 964037c
feat: add support for EXTERNREF value type and enable AOT validator i…
lum1n0us 45db4ba
fix(unit-test): libc_builtin_test issues (#4073)
peter-tatrai ff10b86
fix(build_llvm_libraries.yml): Correct script path for build_llvm.py
no1wudi d0e2a72
fix(aot_emit_aot_file): prevent buffer emission for zero byte_count (…
lum1n0us f2ef9ee
Cmake improvements (#4076)
peter-tatrai d9c01b3
fix: when load aot init expr,no type_idx set. (#4094)
chenliuyang1989 32338bb
Copy read only API behind a flag instead of using user defined callback
cc3f0a0
Cleaning up
dfcadc6
prevent data overflow on 32 bit platform for memory.grow
TianlongLiang 2e4ebfb
cr suggestions
TianlongLiang f1ffbb5
cr suggestions
TianlongLiang e72338b
format
TianlongLiang 851a26d
cr suggestions
TianlongLiang 1252f72
feat: use C linkage in aot_comp_option.h for C++ embeding (#4106)
Jiax-cn 8288190
build(deps): Bump actions/upload-artifact from 4.6.0 to 4.6.1
dependabot[bot] e158f66
build(deps): Bump github/codeql-action from 3.28.9 to 3.28.10
dependabot[bot] 8b4ef08
Apply suggestions from code review
lum1n0us 3f268e5
build(deps): Bump ossf/scorecard-action from 2.4.0 to 2.4.1
dependabot[bot] 188eb1c
remove unnecessary includes
968b7d4
fix: add dispose of the debug information builder when destroying com…
Jiax-cn f2e3348
wasm_loader allocates more spaces for elements (#4099)
lum1n0us 857e6b7
formatting
a5d8c0b
define if not defined
99cb6ec
formatting
fc3077b
address comments
bda012e
formatting
0b5084c
remove spare diff line
e693608
log warning instaed of assertion (#4119)
TianlongLiang beb34c3
Expose WAMR_BUILD_GC_HEAP_SIZE_DEFAULT as a CMake option
swankjesse bc00b3e
address comments
ffcc157
clang format
32d0f55
spare line
6166788
spare lines
de82d19
Address code review feedback
swankjesse 73998e4
fix: fix load aarch64 aot failed (#4114)
Jiax-cn d609acf
Move the default heap size initialization
swankjesse 56bb7e7
last fixes
811f35b
identation
e488345
fix bug for return value when skip_n is passed
9027b2d
Restore the doc heading.
swankjesse 412631a
fix: correct typos and improve comments across multiple files by code…
no1wudi 48a87dc
avoid Windows perform newline translation (#4128)
TianlongLiang d1cf356
build(deps): Bump github/codeql-action from 3.28.10 to 3.28.11
dependabot[bot] 766f378
Merge pull request #4033 from g0djan/godjan/iterate_callstack
lum1n0us 7cc2620
Merge pull request #4132 from bytecodealliance/dependabot/github_acti…
lum1n0us c6f9344
Merge pull request #4124 from swankjesse/WAMR_BUILD_GC_HEAP_SIZE_DEFAULT
lum1n0us dde6477
Fix iwasm build error when WAMR_BUILD_WASI_NN enabled
zhen9910 e27e538
Fix iwasm build error when WAMR_BUILD_WASI_NN enabled (#4138)
lum1n0us c30e65b
include bh_platform.h (#4135)
sjamesr efa8019
Merge dev/simd for fast-interp (#4131)
loganek 1f14f4e
Fix build issues when compiling WAMRC as a cross-compiler (#4112)
peter-tatrai 06ea960
fix(runtest.py): A workaround to bypass errors that occur when deleti…
lum1n0us 913c222
build(deps): Bump esbuild, @vitejs/plugin-react and vite (#4149)
dependabot[bot] 3e20194
Update NuttX and NuttX Apps references to releases/12.9 in workflow f…
no1wudi 5d8fe5d
platform/nuttx: Flush icache/dcache properly (#4147)
no1wudi c257692
build(deps): Bump github/codeql-action from 3.28.11 to 3.28.12 (#4160)
dependabot[bot] 8acaaa2
build(deps): Bump actions/upload-artifact from 4.6.1 to 4.6.2 (#4159)
dependabot[bot] 4a17741
test: temporarily skip 'skip-stack-guard-page' test case until issue …
no1wudi 1931f2e
nuttx: remove the up_x API for kernel build (#4154)
no1wudi 4082e53
docs: Update build instructions suggestions for using Valgrind (#4164)
lum1n0us fb69699
build(deps): Bump github/codeql-action from 3.28.12 to 3.28.13 (#4170)
dependabot[bot] b8dde72
dwarf_extractor.cpp: use macro control to be compatible with lower ve…
TianlongLiang 159b69d
Update cmake min to 3.14 (#4175)
lum1n0us 6424122
fix format specifier warning on 32bit builds (#4177)
sjamesr 4e50d21
Remove indirect-load for constants on Xtensa Target to improve perfor…
dongsheng28849455 79f26a9
cmake: Enhance target selection for ARM architectures with FPU (#4185)
no1wudi 8f2fed4
build(deps): Bump github/codeql-action from 3.28.13 to 3.28.14 (#4184)
dependabot[bot] 8245aef
aot: add new u64 intrinsics (#4168)
spaceface777 2a26324
Refactor Dockerfile and update .dockerignore for wasi-nn tests; adjus…
lum1n0us 8fe98f6
Add import memory/table flag assert check for miniloader (#4179)
TianlongLiang 793135b
Fix few integer overflowing (#4161)
lum1n0us 9aaf359
prevent frame_offset underflow in wasm_loader (#4165)
lum1n0us 751cdcf
improve variable naming and code clarity in SIMD operations (#4157)
lum1n0us cc19036
fix: Remove unused variables in SIMD_v128_const case (#4197)
no1wudi 3bdec3c
build(deps): Bump github/codeql-action from 3.28.14 to 3.28.15 (#4198)
dependabot[bot] 46ec863
fix false native stack overflow detections with HW_BOUND_CHECK (#4196)
yamt d085d1c
Keep fix the CMake compatibility issue (#4180)
lum1n0us fc78d67
Fix the error of AOT mode on the "i386-windows-msvc" platform (#4183)
w4454962 0ba6532
debug-engine: fix a few type mismatches (#4189)
yamt 955fce5
Replace CMAKE_CURRENT_FUNCTION_LIST_DIR (#4200)
lum1n0us fc1527e
Raise CI runner to ubuntu 22.04 (#4191)
lum1n0us 996758c
Remove the dlen to optimize it. (#4193)
lum1n0us ecb47d9
Add missing casts and improve error handling in performance map funct…
lum1n0us 8f8c560
Raise wasi-sdk to 25 and wabt to 1.0.37 (#4187)
lum1n0us 0702f78
Add missing V128 handling in WASM_OP_BR, reported in #4173
ff27687
fix potential memory leak (#4205)
TianlongLiang c883faf
Merge pull request #4203 from jammar1/jammar1/fix-br-v128
loganek 6d61e72
Update unit test cases (#4214)
kylo5aby af2a204
fix print_help when libc wasi is enabled (#4218)
Septa2112 c2d7fa3
LLVM: don't verify instcombine fixpoint (#4219)
yamt 6593b3f
LLVMCreateTargetMachineWithOpts: disable large data (#4220)
yamt 84767f9
wamrc: add --disable-llvm-jump-tables option (#4224)
yamt 791e60f
feat(fuzz): add a new fuzzing target about aot compiler (#4121)
lum1n0us 1d39b9c
bypass vptr santizier (#4231)
lum1n0us a996689
use a selected llvm libs list to replace the full list (#4232)
lum1n0us 9773390
set default value of `WAMR_BUILD_REF_TYPES` to 1 in standalone cases …
Septa2112 3232bdf
teach aot emitter/loader about .srodata and .srodata.cst* sections (#…
yamt 382aa9e
run_clang_format_diff: mention homebrew for clang-format installation…
yamt 5bdbba0
platform/nuttx: Fix dcache operation in os_dcache_flush (#4225)
no1wudi 5910e5c
Use --target to pass a triple in wamrc (#4199)
lum1n0us 4735956
fix return types of our 64-bit clz/ctz/popcount intrinsics (#4238)
yamt d053f55
build(deps): Bump github/codeql-action from 3.28.15 to 3.28.17 (#4243)
dependabot[bot] 1996c18
samples/wasm-c-api: skip aot compilation unless necessary (#4239)
yamt bb36a43
riscv: avoid llvm.cttz.i32/i64 for xip (#4248)
yamt ea417d7
Add overflow check for preserved local offset in preserve_referenced_…
lum1n0us ac2fe55
aot_resolve_object_relocation_group: adapt to LLVM 16 (#4250)
yamt 88b5f6a
samples/wasm-c-api: remove unused valgrind detection (#4249)
yamt 0e8b57d
More detail to python setup, and fixed small typo (#4247)
woodsmc 216404d
initialize WASI stdio handles to invalid for better error handling (#…
lum1n0us ca5a2fa
Modifying build flags to ensure libiwasm.so is built (#4255)
woodsmc f88718d
JIT: don't join worker threads twice (#4252)
yamt 0a8994a
aot_resolve_object_relocation_group: adapt to LLVM 19 (#4254)
yamt 6aa223d
Stop pretending to support extended-const proposal (#4258)
yamt 1a72dcf
Improve readlinkat_dup() to handle symlink size correctly (#4229)
lum1n0us 908838a
build-scripts/build_llvm.py: bump to llvm 18 (#4259)
yamt 8f39610
fix: improve error handling of snprintf() in send_thread_stop_status(…
lum1n0us c48dd5c
Don't call os_thread_get_stack_boundary unless we actually use it (#4…
sjamesr 510bb11
CI: make macos' build_samples_wasm_c_api similar to ubuntu (#4253)
yamt 3cce6fd
avoid access null pointer (#4262)
kylo5aby 7446b08
disable compiler to prevent get_current_target() crash (#4251)
kylo5aby 477d66d
product-mini/platforms/windows: set C++17 explicitly (#4269)
yamt 26aa483
fix buf checking in load_table_section (#4276)
yviansu f0a8286
Refactor fast-interpreter SIMD compilation flags (#4261)
lum1n0us 065cc72
Bypass wamr_ide-related components from the release process. (#4268)
lum1n0us 5c7f64b
Set CMAKE_OSX_SYSROOT when building lldb (#4274)
lum1n0us 70b35f9
Check for WASM_ENABLE_SIMDE in a couple more places (#4266)
sjamesr 8ad4789
Add error handling for sgx ci (#4222)
lum1n0us 129dc3a
Add select 128 (#4236)
Zzzabiyaka 28702ed
Merge commit from fork
lum1n0us c7b2db1
Update version to 2.3.0 (#4171)
jammar1 e48367c
Fix SIMD load lane to avoid incompatible pointer types (#4278)
lum1n0us 14d09bf
Fixed unit tests on X86_32 (#4279)
Septa2112 f4f33b6
feat(yml): Add ESP32-P4 and ESP32-C5 support (#4270)
cwespressif 76caabe
build(deps): Bump github/codeql-action from 3.28.17 to 3.28.18 (#4285)
dependabot[bot] b7474b3
Improve Embedding WAMR guideline (#4263) (#4284)
kr-t 6659a31
add a sample to use cmake package (#4291)
yamt c018b8a
feat: Add instruction metering for interpreter (#4122)
AlixANNERAUD 21bcf5c
Fix Compiler Error C2491 (#4286)
lum1n0us 782c69f
Revert the location to install public headers (#4295)
yamt 7f9e492
Enhance type checking for function types in loader and improve error …
lum1n0us 3ab9f84
Dockerfile.vx-delegate build error fix (#4273)
HongxiaWangSSSS 3580d1a
Enable runtime API exposure for MSVC builds (#4287)
lum1n0us 207da7b
updating WASI stdio handle initialization and build options for UVWAS…
lum1n0us 670aa83
Bump version to 2.3.1 and update release notes (#4303)
lum1n0us 2a30386
Fix a linking error caused by commit #3580d1 (#4311)
lum1n0us aa1ff77
add load_by_name in wasi-nn (#4298)
HongxiaWangSSSS 62bb6e8
build(deps): Bump ossf/scorecard-action from 2.4.1 to 2.4.2 (#4315)
dependabot[bot] 938503a
Bump uvwasi to latest commit #392e1f1 (#4312)
lum1n0us 1c12a32
wasi_nn_openvino.c: fix a few printf formats (#4310)
yamt 16c4675
wasi-nn: remove "backends" argument from detect_and_load_backend() (#…
yamt ae6e490
fix wasi-nn abi definitions (#4307)
yamt 61cb972
wasi-nn: fix shared library filenames for macOS (#4306)
yamt 6a00874
wasi_nn_openvino.c: make this buildable (#4305)
yamt 93ef19b
handle nullable heap reference types in import section (#4302)
kylo5aby 85efe08
wasi-nn: protect the backend lookup table with a lock (#4319)
yamt b20ebc2
wasi_nn.h: add import_name attribute (#4328)
yamt 79cb436
wasi-nn: remove unused wasi_nn_dump_tensor_dimension prototype (#4325)
yamt 602e86a
Add wamrc compilation into Windows CI workflow (#4327)
lum1n0us 48a9773
Update binary compression steps to follow symlinks for actual files (…
lum1n0us 97e9502
Update Dockerfile for Zephyr SDK and Zephyr-project versioning (#4335)
lum1n0us 350af77
Collective fix: fix some typos (#4337)
TianlongLiang 769d16e
wasi-nn: move some host-only things out of wasi_nn_types.h (#4334)
yamt 933f812
wasi-nn: fix the size of tensor->type (#4333)
yamt 99c75b5
remove temporary wasi-libc build steps from CI workflows (#4343)
lum1n0us 4d6b8dc
wasi_nn.h: make this compatible with wasi_ephemeral_nn (#4330)
yamt ea5757f
wasi-nn: do not assign wasi_nn_ctx->backend multiple times (#4329)
yamt 07c23cb
build(deps): Bump github/codeql-action from 3.28.18 to 3.28.19 (#4346)
dependabot[bot] 7f968f5
wasi_socket_ext.c: avoid tls to make this library-friendly (#4338)
yamt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,12 @@ | ||
| # for now, it is used to speed up wasi-nn tests only. | ||
| # you shall adapt below rules to incoming requirements | ||
|
|
||
| build | ||
| */build | ||
| */*/build | ||
| */*/*/build | ||
| */*/*/*/build | ||
| */*/*/*/*/build | ||
| */*/*/*/*/*/build | ||
| **/build | ||
| **/tmp.* | ||
| .* | ||
| **/*.gguf | ||
|
|
||
| core/deps | ||
| !core/deps/tensorflow-src | ||
| samples | ||
| tests | ||
| /core/deps/ | ||
| !/core/deps/tensorflow-src | ||
| /samples | ||
| /tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # Copyright (C) 2019 Intel Corporation. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
|
||
| # Always follow https://download.01.org/intel-sgx/latest/linux-latest/docs/ | ||
|
|
||
| name: "Install Intel SGX SDK" | ||
| description: "Installs the Intel SGX SDK and necessary libraries for Ubuntu." | ||
| author: "Intel Corporation" | ||
| inputs: | ||
| os: | ||
| description: "Operating system to install on (ubuntu-22.04)" | ||
| required: true | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Check Runner OS | ||
| if: ${{ inputs.os != 'ubuntu-22.04' }} | ||
| shell: bash | ||
| run: | | ||
| echo "::error title=⛔ error hint::Only support ubuntu-22.04 for now" | ||
| exit 1 | ||
|
|
||
| - name: Create installation directory | ||
| shell: bash | ||
| run: sudo mkdir -p /opt/intel | ||
|
|
||
| - name: Download and install SGX SDK on ubuntu-22.04 | ||
| if: ${{ inputs.os == 'ubuntu-22.04' }} | ||
| shell: bash | ||
| run: | | ||
| sudo wget -O sgx_linux_x64_sdk.bin https://download.01.org/intel-sgx/sgx-linux/2.25/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.25.100.3.bin | ||
| sudo chmod +x sgx_linux_x64_sdk.bin | ||
| echo 'yes' | sudo ./sgx_linux_x64_sdk.bin | ||
| working-directory: /opt/intel | ||
|
|
||
| - name: Add SGX repository and install libraries | ||
| shell: bash | ||
| run: | | ||
| echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/intel-sgx.list | ||
| wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add - | ||
| sudo apt update | ||
| sudo apt install -y libsgx-launch libsgx-urts | ||
|
|
||
| - name: Source SGX SDK environment | ||
| shell: bash | ||
| run: source /opt/intel/sgxsdk/environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| # Copyright (C) 2019 Intel Corporation. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
|
||
| # Get URLs from: | ||
| # - https://github.com/WebAssembly/wasi-sdk/releases | ||
| # - https://github.com/WebAssembly/wabt/releases | ||
|
|
||
| # Install WASI-SDK and WABT at /opt | ||
| # /opt is the assumed location widely used in the project | ||
| name: Install WASI-SDK and WABT | ||
|
|
||
| description: A composite action to download and install wasi-sdk and wabt on Ubuntu, macOS. | ||
|
|
||
| inputs: | ||
| os: | ||
| description: "Operating system to install on (ubuntu, macos)" | ||
| required: true | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Check Runner OS | ||
| if: ${{ !startsWith(inputs.os, 'ubuntu') && !startsWith(inputs.os, 'windows') && !startsWith(inputs.os, 'macos') }} | ||
| shell: bash | ||
| run: | | ||
| echo "::error title=⛔ error hint::Support Ubuntu, Windows, and macOS Only" | ||
| exit 1 | ||
|
|
||
| - name: Set up wasi-sdk and wabt on Ubuntu | ||
| if: ${{ startsWith(inputs.os, 'ubuntu') }} | ||
| shell: bash | ||
| run: | | ||
| sudo wget -O wasi-sdk.tar.gz --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-linux.tar.gz | ||
| sudo tar -xf wasi-sdk.tar.gz | ||
| sudo ln -sf wasi-sdk-25.0-x86_64-linux/ wasi-sdk | ||
| sudo wget -O wabt.tar.gz --progress=dot:giga https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-ubuntu-20.04.tar.gz | ||
| sudo tar -xf wabt.tar.gz | ||
| sudo ln -sf wabt-1.0.37 wabt | ||
| /opt/wasi-sdk/bin/clang --version | ||
| /opt/wabt/bin/wasm-interp --version | ||
| echo "::notice::wasi-sdk-25 and wabt-1.0.37 installed on ubuntu" | ||
| working-directory: /opt | ||
|
|
||
| - name: Set up wasi-sdk and wabt on macOS-13 (intel) | ||
| if: ${{ inputs.os == 'macos-13' }} | ||
| shell: bash | ||
| run: | | ||
| sudo wget -O wasi-sdk.tar.gz --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-x86_64-macos.tar.gz | ||
| sudo tar -xf wasi-sdk.tar.gz | ||
| sudo ln -sf wasi-sdk-25.0-x86_64-macos wasi-sdk | ||
| sudo wget -O wabt.tar.gz --progress=dot:giga https://github.com/WebAssembly/wabt/releases/download/1.0.36/wabt-1.0.36-macos-12.tar.gz | ||
| sudo tar -xf wabt.tar.gz | ||
| sudo ln -sf wabt-1.0.36 wabt | ||
| /opt/wasi-sdk/bin/clang --version | ||
| /opt/wabt/bin/wasm-interp --version | ||
| echo "::notice::wasi-sdk-25 and wabt-1.0.36 installed on macos-13" | ||
| working-directory: /opt | ||
|
|
||
| - name: Set up wasi-sdk and wabt on macOS-14 (arm64) | ||
| if: ${{ inputs.os == 'macos-14' }} | ||
| shell: bash | ||
| run: | | ||
| sudo wget -O wasi-sdk.tar.gz --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-25/wasi-sdk-25.0-arm64-macos.tar.gz | ||
| sudo tar -xf wasi-sdk.tar.gz | ||
| sudo ln -sf wasi-sdk-25.0-arm64-macos wasi-sdk | ||
| sudo wget -O wabt.tar.gz --progress=dot:giga https://github.com/WebAssembly/wabt/releases/download/1.0.37/wabt-1.0.37-macos-14.tar.gz | ||
| sudo tar -xf wabt.tar.gz | ||
| sudo ln -sf wabt-1.0.37 wabt | ||
| /opt/wasi-sdk/bin/clang --version | ||
| /opt/wabt/bin/wasm-interp --version | ||
| echo "::notice::wasi-sdk-25 and wabt-1.0.37 installed on macos-14" | ||
| working-directory: /opt | ||
|
|
||
| #TODO: Add support for Windows | ||
| - name: Set up wasi-sdk and wabt on Windows | ||
| if: ${{ startsWith(inputs.os, 'windows') }} | ||
| shell: powershell | ||
| run: | | ||
| echo "::notice::Support for Windows is not implemented yet" | ||
| exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Copyright (C) 2019 Intel Corporation. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
| name: confirm version.h stay in sync | ||
|
|
||
| on: | ||
| workflow_call: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| confirm_version: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: cmake execute to generate version.h | ||
| run: cmake -B build_version -S . | ||
|
|
||
| - name: confirm version.h | ||
| run: | | ||
| if [ -z "$(git status --porcelain | grep version.h)" ]; then | ||
| echo "version.h is in sync" | ||
| else | ||
| echo "version.h is not in sync" | ||
| exit 1 | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,7 +53,7 @@ | |
|
|
||
| # Initializes the CodeQL tools for scanning. | ||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v3.28.8 | ||
| uses: github/codeql-action/init@v3.28.19 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
|
|
||
|
|
@@ -70,7 +70,7 @@ | |
| - run: | | ||
| ./.github/scripts/codeql_buildscript.sh | ||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@v3.28.8 | ||
| uses: github/codeql-action/analyze@v3.28.19 | ||
Check warningCode scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
| with: | ||
| category: "/language:${{matrix.language}}" | ||
| upload: false | ||
|
|
@@ -99,14 +99,14 @@ | |
| output: ${{ steps.step1.outputs.sarif-output }}/cpp.sarif | ||
|
|
||
| - name: Upload CodeQL results to code scanning | ||
| uses: github/codeql-action/upload-sarif@v3.28.8 | ||
| uses: github/codeql-action/upload-sarif@v3.28.19 | ||
Check warningCode scanning / Scorecard Pinned-Dependencies Medium
score is 0: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
| with: | ||
| sarif_file: ${{ steps.step1.outputs.sarif-output }} | ||
| category: "/language:${{matrix.language}}" | ||
|
|
||
| - name: Upload CodeQL results as an artifact | ||
| if: success() || failure() | ||
| uses: actions/upload-artifact@v4.6.0 | ||
| uses: actions/upload-artifact@v4.6.2 | ||
| with: | ||
| name: codeql-results | ||
| path: ${{ steps.step1.outputs.sarif-output }} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium