Skip to content

Commit

Permalink
Add initial github workflow file for building
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudd committed Jun 14, 2024
1 parent 9f2e5a7 commit dd55993
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build
on:
push:
branches:
- main

jobs:
build_windows:
runs-on: windows-latest
steps:
- name: Setup MSYS2
uses: msys2/setup-msys2@v2

- name: Checkout jcal
uses: actions/checkout@v4
with:
repository: 'masoudd/jcal'
ref: 'msys2_windows'
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

- name: Build irancal
shell: msys2 {0}
run: |
cd irancal/src
make release

0 comments on commit dd55993

Please sign in to comment.