Skip to content

Commit c675266

Browse files
committed
Switch to bash.exe in b_bytecode_win to be able to control locale
1 parent fe118ab commit c675266

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.circleci/config.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,10 @@ defaults:
390390
shell: powershell.exe
391391
size: large
392392

393-
- base_win_cmd: &base_win_cmd
393+
- base_win_bash: &base_win_bash
394394
executor:
395395
name: win/default
396-
shell: cmd.exe
396+
shell: bash.exe
397397

398398
- base_osx: &base_osx
399399
macos:
@@ -1428,18 +1428,20 @@ jobs:
14281428
label: "osx"
14291429

14301430
b_bytecode_win:
1431-
<<: *base_win_cmd
1431+
<<: *base_win_bash
1432+
environment:
1433+
LC_ALL: C
14321434
steps:
14331435
# NOTE: For bytecode generation we need the input files to be byte-for-byte identical on all
14341436
# platforms so line ending conversions must absolutely be disabled.
14351437
- run: git config --global core.autocrlf false
14361438
- checkout
14371439
- attach_workspace:
14381440
at: build
1439-
- run: mkdir test-cases\
1440-
- run: cd test-cases\ && python ..\scripts\isolate_tests.py ..\test\
1441-
- run: cd test-cases\ && python ..\scripts\bytecodecompare\prepare_report.py ..\build\solc\Release\solc.exe --interface standard-json --report-file ..\bytecode-report-windows-json.txt
1442-
- run: cd test-cases\ && python ..\scripts\bytecodecompare\prepare_report.py ..\build\solc\Release\solc.exe --interface cli --report-file ..\bytecode-report-windows-cli.txt
1441+
- run: mkdir test-cases/
1442+
- run: cd test-cases/ && python ../scripts/isolate_tests.py ../test/
1443+
- run: cd test-cases/ && python ../scripts/bytecodecompare/prepare_report.py ../build/solc/Release/solc.exe --interface standard-json --report-file ../bytecode-report-windows-json.txt
1444+
- run: cd test-cases/ && python ../scripts/bytecodecompare/prepare_report.py ../build/solc/Release/solc.exe --interface cli --report-file ../bytecode-report-windows-cli.txt
14431445
- store_artifacts:
14441446
path: bytecode-report-windows-json.txt
14451447
- store_artifacts:

0 commit comments

Comments
 (0)