-
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (47 loc) · 1.7 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
name: Builder
on:
push:
paths-ignore:
- 'LICENSE'
- '*.md'
branches:
- main
pull_request:
paths-ignore:
- 'LICENSE'
- '*.md'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- {os: ubuntu-latest, arch: amd64, mode: full, shell: bash}
- {os: ubuntu-latest, arch: amd64, mode: mini, shell: bash}
- {os: ubuntu-latest, arch: arm64, mode: mini, shell: bash}
- {os: windows-latest, arch: amd64, mode: full, shell: "msys2 {0}"}
- {os: windows-latest, arch: amd64, mode: mini, shell: "msys2 {0}"}
- {os: macOS-12, arch: amd64, mode: full, shell: bash}
- {os: macOS-12, arch: amd64, mode: mini, shell: bash}
- {os: macos-latest, arch: arm64, mode: full, shell: bash}
- {os: macos-latest, arch: arm64, mode: mini, shell: bash}
defaults:
run:
shell: ${{ matrix.shell }}
steps:
- uses: actions/checkout@v4
- name: Install Arturo
uses: ./
with:
token: ${{ secrets.GITHUB_TOKEN }}
mode: ${{ matrix.mode }}
arch: ${{ matrix.arch }}
- if: matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64'
name: Run tests
run: |
arturo -v
arturo tests/test.art