Skip to content

Commit

Permalink
e Try running cmake on cygwin
Browse files Browse the repository at this point in the history
Co-Authored-By: Llewellyn Falco <[email protected]>
  • Loading branch information
claremacrae and isidore committed Mar 25, 2021
1 parent eb8416f commit e16f8f2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/github_actions_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,7 @@ jobs:
strategy:
fail-fast: false
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v2
# TODO(someday): If we could cache the Cygwin installation we wouldn't have to spend three
# minutes installing it for every build. Unfortuntaley, actions/cache@v1 does not preserve
# DOS file attributes, which corrupts the Cygwin install. In particular, Cygwin marks
# symlinks with the "DOS SYSTEM" attribute. We could cache just the downloaded packages,
# but it turns out that only saves a couple seconds; most of the time is spend unpacking.
- name: Install Cygwin
run: |
choco config get cacheLocation
Expand All @@ -291,4 +285,4 @@ jobs:
- name: Build and test
shell: cmd
run: |
C:\tools\cygwin\bin\bash -lc 'export PATH=/usr/local/bin:/usr/bin:/bin; cd /cygdrive/d/a/capnproto/capnproto; ./super-test.sh quick'
C:\tools\cygwin\bin\bash -lc 'export PATH=/usr/local/bin:/usr/bin:/bin; pwd; mkdir build; cd build; cmake -G 'Unix Makefiles' ..

0 comments on commit e16f8f2

Please sign in to comment.