add some sanity tests on library build #13
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: Win64 | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
build-libraries: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: chetan/git-restore-mtime-action@v1 | |
- name: Setup | |
run: | | |
choco install make | |
#choco install mingw | |
#refreshenv | |
- name: Update DLL | |
run: | | |
make -f build\makefile-windows dll # build distribution dll | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Automated Windows DLL save | |
file_pattern: resources/libraries/base64.dll | |
raku: | |
needs: build-libraries | |
strategy: | |
matrix: | |
os: | |
- windows-latest | |
raku-version: | |
- 'latest' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Raku/setup-raku@v1 | |
with: | |
raku-version: ${{ matrix.raku-version }} | |
- name: Windows specific setup | |
if: matrix.os == 'windows-latest' | |
run: zef install --force LibraryMake | |
- name: Install Dependencies | |
run: | | |
zef install --deps-only . | |
zef build . | |
- name: Run Tests | |
run: prove -e'raku -I.' t |