适配v2021.1版本

Signed-off-by: wangshi <wangshi@kaihong.com>
This commit is contained in:
wangshi 2023-01-13 15:08:35 +08:00
parent 5c2f5db5c5
commit 4501b12b03
4 changed files with 75 additions and 0 deletions

6
.clang-format Normal file
View File

@ -0,0 +1,6 @@
---
Language: Cpp
BasedOnStyle: Google
DerivePointerAlignment: false
SortIncludes: true
...

14
.github/workflows/wasm.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Wasm Build
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build web
run: docker-compose up
- name: Run tests
run: node test/wasm/test.js

35
.gitignore vendored Normal file
View File

@ -0,0 +1,35 @@
.clang_complete
.ycm_extra_conf.py*
*.pyc
compile_commands.json
/build*/
/buildtools/
/external/googletest
/external/SPIRV-Headers
/external/spirv-headers
/external/effcee
/external/re2
/external/protobuf
/out
/TAGS
/third_party/llvm-build/
/testing
/tools/clang/
/utils/clang-format-diff.py
bazel-bin
bazel-genfiles
bazel-out
bazel-spirv-tools
bazel-spirv-tools
bazel-testlogs
# Vim
[._]*.s[a-w][a-z]
*~
# C-Lion
/.idea/
/cmake-build-*/
# VSCode
/.vscode/*

20
.gn Normal file
View File

@ -0,0 +1,20 @@
# Copyright 2018 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
buildconfig = "//build/config/BUILDCONFIG.gn"
default_args = {
clang_use_chrome_plugins = false
use_custom_libcxx = false
}