-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (48 loc) · 1.23 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
name: Build
on:
push:
branches:
- main
jobs:
build_windows:
runs-on: windows-latest
steps:
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
release: false
install: >-
automake-wrapper
libtool
autoconf-wrapper
mingw-w64-x86_64-gcc
base-devel
mingw-w64-x86_64-readline
- name: Checkout jcal
uses: actions/checkout@v4
with:
repository: 'masoudd/jcal'
ref: 'master'
path: 'jcal'
- name: Build jcal
shell: msys2 {0}
run: |
uname -a
cd jcal/sources
bash ./autogen.sh && ./configure && make
- name: Checkout irancal
# disables git line ending conversion
# run: git config --global core.autocrlf input
uses: actions/checkout@v4
with:
path: 'irancal'
- name: Build irancal
shell: msys2 {0}
run: |
cd irancal/src
make release
- name: Upload what we got
uses: actions/upload-artifact@v4
with:
name: irancal
path: irancal/src/irancal.exe