-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (42 loc) · 1.07 KB
/
build_windows.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
name: BuildWindows
on:
release:
types: [published, edited, prereleased]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: microsoft/setup-msbuild@v1.1
- uses: seanmiddleditch/gha-setup-vsdevenv@master
- uses: actions/setup-ruby@v1
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
with:
crystal: nightly
- name: Deps
run: |
git submodule init
git submodule update --recursive
- name: Build
env:
CC: cl
CXX: cl
run: |
rake -v
- name: Run
run: |
build/launshi/bin/Launshi.exe --version
- name: Install7z
shell: powershell
run: Install-Module 7Zip4PowerShell -Force -Verbose
- name: Zip
run: |
7z a Launshi_win_x64.zip -r build/launshi/bin/*
- name: Upload
uses: actions/upload-artifact@v2
with:
name: Launshi
path: Launshi_win_x64.zip