-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (40 loc) · 1.1 KB
/
setup-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
name: Setup CI
on: push
jobs:
test:
strategy:
matrix:
platform:
- name: ubuntu
runner: ubuntu-latest
script: bin/bootstrap/linux
env:
DISPLAY: 1
- name: macos
runner: macos-latest
script: bin/bootstrap/macos
env:
DISPLAY: 1
- name: ubuntu-headless
runner: ubuntu-latest
script: bin/bootstrap/linux
env: {}
- name: macos-headless
runner: macos-latest
script: bin/bootstrap/macos
env: {}
- name: windows
runner: windows-latest
script: bin/bootstrap/windows.bat
env: {}
name: ${{ matrix.platform.name }}
runs-on: ${{ matrix.platform.runner }}
env: ${{ matrix.platform.env }}
steps:
- uses: actions/checkout@v2
name: Checkout
- name: Install Winget
if: ${{ matrix.platform.name == 'windows' }}
uses: Cyberboss/install-winget@v1
- name: ⚙️ Setup
run: ${{ matrix.platform.script }}