X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=.github%2Fworkflows%2Fwindows.yml;fp=.github%2Fworkflows%2Fwindows.yml;h=cffbcdba9ce3b55451938e1b7878da7316ab44f7;hb=120efebd21c9899a12651bd04e24d37f1d6f2571;hp=0000000000000000000000000000000000000000;hpb=2e2a003e118803b164b17bed666c10c829480564;p=chaz%2Fp5-File-KDBX diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..cffbcdb --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,33 @@ +name: Windows + +on: + push: + branches: ["*"] + pull_request: + branches: ["*"] + +jobs: + unit-tests: + name: "Test perl on Windows" + + runs-on: windows-latest + + steps: + - name: Install perl + run: | + choco install strawberryperl + echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >>$GITHUB_PATH + - name: Print perl version + run: perl -V + - name: Install dzil + run: cpanm -n Dist::Zilla + - name: Configure git + run: git config --global core.autocrlf input + - name: Checkout code + uses: actions/checkout@v3 + - name: Install author dependencies + run: dzil authordeps --missing |cpanm -n + - name: Install module dependencies + run: dzil listdeps --develop --missing |cpanm -n + - name: Run tests + run: dzil smoke --author --release