first steps to Actions for Windows exe, #890 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Windows executable | ||
on: | ||
push: | ||
branches : | ||
- master | ||
jobs: | ||
win_exe : | ||
runs-on : windows-latest | ||
steps : | ||
- name : Pull latest cloc source code | ||
uses: actions/checkout@v4 | ||
- run: git checkout HEAD^ | ||
- name : Install Strawberry Perl | ||
run: | | ||
choco install strawberryperl | ||
echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH | ||
- name: Show Perl installation details | ||
run: perl -V | ||
# incomplete | ||
# https://stackoverflow.com/questions/72367353/testing-perl-on-windows-with-github-actions |