-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (38 loc) · 1.07 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
name: CI
on:
workflow_dispatch:
# im just including everything under scripts,
# because its easier and it means i dont forget to add a script here
# because theres certain scripts where if theyre changed, all tests should be ran
push:
branches: [ main ]
paths:
- "scripts/**"
pull_request:
branches: [ main ]
paths:
- "scripts/**"
jobs:
Main:
runs-on: ${{ matrix.runner-os }}
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- name: Windows
runner-os: windows-latest
- name: Linux
runner-os: ubuntu-latest
- name: macOS
runner-os: macos-14
steps:
- uses: actions/checkout@v4
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
- uses: ./.github/actions/fetch_diff.yml
- uses: CompeyDev/[email protected]
- name: Install Toolchain
run: rokit install --no-trust-check
- name: Run test runner
run: lune run scripts/test_runner all