-
Notifications
You must be signed in to change notification settings - Fork 8
53 lines (51 loc) · 1.25 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: test
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/sha1.dll
raku:
needs: build-libraries
strategy:
matrix:
os:
- ubuntu-latest
- macOS-latest
- windows-latest
raku-version:
- 'latest'
- '2021.08'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: Raku/setup-raku@v1
with:
raku-version: ${{ matrix.raku-version }}
- name: Install Dependencies
run: |
zef install --/test App::Prove6
zef install --force LibraryMake
zef install --deps-only .
zef build .
- name: Run Tests
run: prove6 -I. t