-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (53 loc) · 1.44 KB
/
versions.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
53
54
55
56
57
58
59
name: validate 'Setup ocvalidate' action
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
setup-versions:
name: setup versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
opencore: [0.9.0, 0.8.0, 0.7.0]
release: [true, false]
steps:
- uses: actions/checkout@v3
- name: Setup ocvalidate with OpenCore ${{ matrix.opencore }}
uses: ./
with:
opencore-version: ${{ matrix.opencore }}
release: ${{ matrix.release }}
- name: Verify ocvalidate
run: |
chmod +x ./__tests__/verify-version.sh
./__tests__/verify-version.sh ${{ matrix.opencore }}
shell: bash
setup-latest:
name: setup latest version
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest]
opencore: ['latest']
release: [true, false]
steps:
- uses: actions/checkout@v3
- name: Setup ocvalidate with OpenCore ${{ matrix.opencore }}
uses: ./
with:
opencore-version: ${{ matrix.opencore }}
release: ${{ matrix.release }}
- name: Verify ocvalidate
run: |
chmod +x ./__tests__/verify-version.sh
./__tests__/verify-version.sh OpenCore
shell: bash