Skip to content
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

Fix ci on wasm #227

Merged
merged 3 commits into from
Aug 29, 2023
Merged

Fix ci on wasm #227

merged 3 commits into from
Aug 29, 2023

Conversation

da-liii
Copy link
Contributor

@da-liii da-liii commented Aug 29, 2023

  • Before adding new features and new modules, please go to issues to submit the relevant feature description first.
  • Write good commit messages and use the same coding conventions as the rest of the project.
  • Please commit code to dev branch and we will merge into master branch in feature
  • Ensure your edited codes with four spaces instead of TAB.

  • 增加新特性和新模块之前,请先到issues提交相关特性说明,经过讨论评估确认后,再进行相应的代码提交,避免做无用工作。
  • 编写友好可读的提交信息,并使用与工程代码相同的代码规范,代码请用4个空格字符代替tab缩进。
  • 请提交代码到dev分支,如果通过,我们会在特定时间合并到master分支上。
  • 为了规范化提交日志的格式,commit消息,不要用中文,请用英文描述。

@da-liii da-liii changed the base branch from master to dev August 29, 2023 13:17
@da-liii
Copy link
Contributor Author

da-liii commented Aug 29, 2023

在我那边的ci会报这个错误:

error: @programdir/modules/private/async/runjobs.lua:256: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:807: src/tbox/libc/string/strcat.c:46:17: error: while loop has empty body [-Werror,-Wempty-body]
   46 |     while (*s++); --s;
      |                 ^
src/tbox/libc/string/strcat.c:46:17: note: put the semicolon on a separate line to silence this warning
1 error generated.
emcc: error: '/home/runner/work/lolly/.xmake-global/.xmake/packages/e/emscripten/3.1.42/dd3d2d23da064881a567862105d240dc/upstream/bin/clang -target wasm32-unknown-emscripten -fignore-exceptions -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -DEMSCRIPTEN -Werror=implicit-function-declaration --sysroot=/home/runner/work/lolly/.xmake-global/.xmake/packages/e/emscripten/3.1.42/dd3d2d23da064881a567862105d240dc/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/fakesdl -Xclang -iwithsysroot/include/compat -c -fPIC -fvisibility=hidden -Wall -Werror -Os -std=c99 -Isrc -Ibuild_09179021/wasm/wasm32/release -D__tb_small__ -D__tb_prefix__="tbox" -Wno-error=deprecated-declarations -fno-strict-aliasing -Wno-error=expansion-to-defined -fno-stack-protector -DNDEBUG -MMD -MF /tmp/.xmake1001/230829/_1D8A767C11A74A00809499E951D1C240 src/tbox/libc/string/strcat.c -o build_09179021/.objs/tbox/wasm/wasm32/release/src/tbox/libc/string/strcat.c.o' failed (returned 1)

@waruqi
Copy link
Member

waruqi commented Aug 29, 2023

你 rebase 到 dev 再试试,我压制了 empty-body error

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You rebase to dev and try again, I suppressed the empty-body error

沈浪熊猫儿 added 3 commits August 29, 2023 21:27
@da-liii
Copy link
Contributor Author

da-liii commented Aug 29, 2023

Rebased

@da-liii da-liii requested a review from waruqi August 29, 2023 13:28
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Foxes

@waruqi waruqi merged commit 3c12819 into tboox:dev Aug 29, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants