-
-
Notifications
You must be signed in to change notification settings - Fork 3
48 lines (43 loc) · 1019 Bytes
/
action.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
name: build
on:
push:
paths-ignore:
- README.md
pull_request:
paths-ignore:
- README.md
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
# - ubuntu-latest
- windows-latest
- macOS-12
version:
# - version-2-1
- devel
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache choosenim
id: cache-choosenim
uses: actions/cache@v4
with:
path: ~/.choosenim
key: ${{ runner.os }}-choosenim-${{ matrix.version}}
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-${{ matrix.version}}-${{ hashFiles('*.nimble') }}
- uses: alaviss/[email protected]
with:
path: 'nim'
version: ${{ matrix.version }}
- name: Test
# continue-on-error: ${{ matrix.version == 'devel' }}
run: |
nimble c src/crowngui.nim