mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disable git's automatic line ending conversion in Windows CI jobs
This commit is contained in:
parent
151df00bb0
commit
83d65ba8f5
@ -844,6 +844,7 @@ jobs:
|
||||
name: win/default
|
||||
shell: powershell.exe
|
||||
steps:
|
||||
# NOTE: Not disabling git's core.autocrlf here because we want to build using the typical Windows config.
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
@ -880,6 +881,8 @@ jobs:
|
||||
name: win/default
|
||||
shell: powershell.exe
|
||||
steps:
|
||||
# NOTE: Git's default core.autocrlf is fine for running soltest. We get additional coverage
|
||||
# for files using CRLF that way.
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: build
|
||||
@ -932,6 +935,9 @@ jobs:
|
||||
name: win/default
|
||||
shell: cmd.exe
|
||||
steps:
|
||||
# NOTE: For bytecode generation we need the input files to be byte-for-byte identical on all
|
||||
# platforms so line ending conversions must absolutely be disabled.
|
||||
- run: git config --global core.autocrlf false
|
||||
- checkout
|
||||
- attach_workspace:
|
||||
at: build
|
||||
|
Loading…
Reference in New Issue
Block a user