Skip to content

Commit

Permalink
Fix compilation issue on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
iamFIREcracker committed Jan 29, 2024
1 parent 38be861 commit 7dd165f
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ jobs:
qlot_version=0.11.5
if [[ $event_name == 'schedule' ]]; then
roswell_version=latest
# XXX remove this override (i.e. put "latest" back in) after the
# following roswell issue has been solved:
# https://github.com/roswell/roswell/issues/497
# asdf_version=latest
asdf_version=3.3.5.3
asdf_version=latest
qlot_version=latest
fi
echo "::set-output name=roswell-version::$roswell_version"
Expand Down Expand Up @@ -90,7 +86,18 @@ jobs:
fetch-depth: 0
- run: make lisp-info-ros
- run: make binary-ros
- run: mv bin/cg bin/${{ matrix.destination }}
- run: |
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
# On Windows, `mv` might fail with the following error message:
#
# mv: 'bin/cg' and 'bin/cg.exe' are the same file
#
# So here we just check that the binary is where it should be
# would fail if the mv operation had failed
test -f bin/${{ matrix.destination }}
else
mv bin/cg bin/${{ matrix.destination }}
fi
- name: Test loading of custom .cgrc
run: |
bin/${{ matrix.destination }} --version
Expand Down

0 comments on commit 7dd165f

Please sign in to comment.