Skip to content

Commit

Permalink
test different type
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Mar 6, 2020
1 parent d063644 commit e9eefcf
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
echo "::add-path::C:\tools\cygwin\bin"
- name: configure
# shell: bash is failed because the script use '\r\n'. cygwin/bash get the command with end \r such that the command fail.
run:
run: |
mkdir build
cd build
pwd
Expand All @@ -107,4 +107,18 @@ jobs:
make test
make install
make test_install
shell: mv {0} run.sh bash --noprofile --norc -eo pipefail -c "tr -d '\r' < run.sh > run.sh && bash run.sh"
shell: mv {0} run.sh && bash --noprofile --norc -eo pipefail -c "tr -d '\r' < run.sh > run.sh && bash run.sh"
- name: configure2
# shell: bash is failed because the script use '\r\n'. cygwin/bash get the command with end \r such that the command fail.
run:
mkdir build &&
cd build &&
pwd
shell: bash
- name: configure3
# shell: bash is failed because the script use '\r\n'. cygwin/bash get the command with end \r such that the command fail.
run:
mkdir build3 &&
cd build3 &&
pwd && echo '\r
shell: bash --noprofile --norc -eo pipefail {0}'

0 comments on commit e9eefcf

Please sign in to comment.