Actions build failed
Closed this issue · 2 comments
Antecer commented
以下是错误日志:
Run cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Release -Dkeyboard:STRING=test -Dkeymap:STRING=default -S/home/runner/work/qmk_port_ch582/qmk_port_ch582 -B/home/runner/work/qmk_port_ch582/qmk_port_ch582/build
Not searching for unused variables given on the command line.
-- Platform: Linux
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/runner/work/qmk_port_ch582/qmk_port_ch582/utils/riscv-none-embed-gcc/bin/riscv-none-embed-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/runner/work/qmk_port_ch582/qmk_port_ch582/utils/riscv-none-embed-gcc/bin/riscv-none-embed-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/runner/work/qmk_port_ch582/qmk_port_ch582/utils/riscv-none-embed-gcc/bin/riscv-none-embed-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Maximum optimization for speed
CMake Error at CMakeLists.txt:11[6](https://github.com/Antecer/qmk_port_ch582/actions/runs/4362155060/jobs/7626725579#step:6:6) (message):
You must select a keyboard and its keymap!
-- Configuring incomplete, errors occurred!
See also "/home/runner/work/qmk_port_ch5[8](https://github.com/Antecer/qmk_port_ch582/actions/runs/4362155060/jobs/7626725579#step:6:9)2/qmk_port_ch582/build/CMakeFiles/CMakeOutput.log".
See also "/home/runner/work/qmk_port_ch582/qmk_port_ch582/build/CMakeFiles/CMakeError.log".
Error: Process completed with exit code 1.
看提示应该是keymap设置错了,workflow的默认配置是default,我只是按照readme的介绍把default文件夹拷贝到了keyboards目录下。
请问正确的操作方法应该是怎样的?
Huckies commented
readme没有让你拷贝default文件夹
你应该把你的键盘的完整配置文件及keymap上传到keyboards文件夹下
Antecer commented
搞懂用法了(示例路径:qmk_port_ch582\qmk_porting\keyboards\AM78\keymaps\default\keymap.c)
workflow run要填写的两个参数:
Keyboard name应该填keyboards路径下的文件夹名称(这里写“AM78”)
Specified keymap应该填AM78\keymaps\default这里的“default”,如果有其它配置就写其它配置文件夹的名称