shrubbroom/Simple-RISC-V-testbench

run ./testbench.sh 出现permission denied

Ye-Jinhong opened this issue · 2 comments

5_Run logic test log 如下
2020-12-20T10:14:57.3020886Z ##[group]Run ./testbench.sh
2020-12-20T10:14:57.3021443Z �[36;1m./testbench.sh�[0m
2020-12-20T10:14:57.3065273Z shell: /bin/bash -e {0}
2020-12-20T10:14:57.3065712Z ##[endgroup]
2020-12-20T10:14:57.3148052Z /home/runner/work/_temp/abcaede5-6281-439a-92ca-2b0c75cd4acd.sh: line 1: ./testbench.sh: Permission denied
2020-12-20T10:14:57.3162194Z ##[error]Process completed with exit code 126.

actions/starter-workflows#171. 如果 clone 到一台 Windows 机器上,由于 Windows 的文件系统没有 x 位会损失可执行信息。
你可以在 yosys.yaml 中添加

chmod +x ./testbench

或者将 ./testbench.sh 改为 bach < testbench.sh

已修复 60f9cf1