Skip to content

Commit

Permalink
ci: Set git core.autocrlf to input
Browse files Browse the repository at this point in the history
In order for one of the patches to be be cleanly applied, git config
option `core.autocrlf` must be set to value `input`.

The file `src/transport_interface/transport_interface_test.c` has `CRLF`
line ending and patching it fails if `core.autocrlf` is not set to
`input`.

Signed-off-by: Devaraj Ranganna <[email protected]>
  • Loading branch information
urutva committed Feb 5, 2024
1 parent bea1e74 commit d41a820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ integration-tests:
- ./tools/ci/generate_credentials.sh -f -p applications/${APP_UNDERSCORED}/configs/aws_configs
- git config --global user.email "[email protected]"
- git config --global user.name "ci"
- git config --global core.autocrlf input
- ./tools/scripts/build.sh -q ${APP} --target $TARGET --toolchain $TOOLCHAIN --certificate_path $PWD/certificate.pem --private_key_path $PWD/private_key.pem
- pushd components/tools/freertos_libraries_integration_tests/library/tools/echo_server
- go run echo_server.go&
Expand Down

0 comments on commit d41a820

Please sign in to comment.