-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (65 loc) · 1.52 KB
/
build.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
60
61
62
63
64
65
66
67
68
name: Test package
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
branches:
- '*'
jobs:
linux:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: bash package-linux_x64.sh
- name: Upload math result for job Linux
uses: actions/upload-artifact@v3
with:
name: linux-lib
path: release/*
windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- uses: ilammy/msvc-dev-cmd@v1
- uses: microsoft/setup-msbuild@v1.1
- uses: milliewalky/setup-7-zip@v1
- name: Install ImageMagick
run: choco install imagemagick -y
shell: powershell
- name: Build
run: bash package-windows_x86_64.sh
- name: Upload math result for job Windows
uses: actions/upload-artifact@v3
with:
name: win-lib
path: release/*
macos-arm:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: bash package-macos.sh
- name: Upload math result for job Mac
uses: actions/upload-artifact@v3
with:
name: mac-lib-arm
path: release/*
macos:
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: bash package-macos.sh
- name: Upload math result for job Mac
uses: actions/upload-artifact@v3
with:
name: mac-lib-x86
path: release/*