-
-
Notifications
You must be signed in to change notification settings - Fork 1
49 lines (44 loc) · 1.19 KB
/
ci.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
name: "Build & Test"
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
paths-ignore:
- 'docs/*'
- '*.yml'
- '*.md'
- 'LICENSE'
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- {name: "Linux (amd64)", os: ubuntu-latest, shell: bash}
- {name: "macOS (amd64)", os: macos-12, shell: bash}
- {name: "macOS (arm64)", os: macos-latest, shell: bash}
- {name: "Windows (amd64)", os: windows-latest, shell: "msys2 {0}"}
defaults:
run:
shell: ${{ matrix.shell }}
steps:
- name: "Cancel similar actions in progress"
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: "Setup Arturo"
uses: arturo-lang/arturo-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: "Checkout"
uses: actions/checkout@main
with:
submodules: recursive
- name: Run unit tests
run: |
arturo -v
arturo test/tester.art