-
Notifications
You must be signed in to change notification settings - Fork 6
42 lines (42 loc) · 1.29 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
# See ci.yml.tabs for the properly indented version if you are having trouble seeing the indentation in this file.
# This version is only for Github to parse.
name: DFPSR tests
on: [push]
jobs:
scriptedTest:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tests on Linux
if: matrix.os == 'ubuntu-latest'
run: |
cd ./Source/test
./test.sh
- name: Run tests on MacOS
if: matrix.os == 'macos-latest'
run: |
cd ./Source/test
./test.sh
builderTest:
continue-on-error: true # Not all programs use the return value to indicate failure.
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
architecture: [x86_64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tests on Linux
if: matrix.os == 'ubuntu-latest'
run: ./Source/test/test_linux.sh
- name: Run tests on MacOS
if: matrix.os == 'macos-latest'
run: ./Source/test/test_macos.sh
- name: Run tests on Windows
if: matrix.os == 'windows-latest'
run: .\Source\test\test_windows.bat