generated from Patitotective/ImTemplate
-
Notifications
You must be signed in to change notification settings - Fork 80
45 lines (38 loc) · 981 Bytes
/
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:
push:
pull_request:
branches: [ main ]
jobs:
appimage:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v4.1.1
- name: Install x11 dev libraries
run: sudo apt install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl-dev
- name: Build
run: |
nimble install -d -y
nake build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: appimage-amd64
path: ./*-*-*.AppImage
if-no-files-found: error
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: iffy/install-nim@v4.1.1
- name: Build
run: |
nimble install -d -y
nake build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: win-amd64
path: ./*.zip
if-no-files-found: error