-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (43 loc) · 1.05 KB
/
Copy pathtest.yml
File metadata and controls
46 lines (43 loc) · 1.05 KB
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
name: "Test"
on:
push:
pull_request:
workflow_dispatch:
jobs:
Test:
runs-on: ${{ matrix.host }}
name: ${{ matrix.name }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
include:
- name: Linux
host: ubuntu-latest
fpc_cross: auto
test_recipe: test
- name: macOS
host: macos-latest
fpc_cross: auto
test_recipe: test
- name: macOS (x86_64)
host: macos-26-intel
fpc_cross: auto
test_recipe: test
- name: Windows (32-bit)
host: windows-latest
fpc_cross: auto
test_recipe: test
- name: Windows (64-bit)
host: windows-latest
fpc_cross: x86_64-win64
test_recipe: test-win64
steps:
- uses: actions/checkout@v3
- uses: visualdoj/setup-fpc@main
with:
cross: ${{ matrix.fpc_cross }}
- run: fpc -i
- run: make ${{ matrix.test_recipe }}