From 6e101614276dd5f0d111e77587292898ee0f55a9 Mon Sep 17 00:00:00 2001 From: Pooya Moradi Date: Sun, 22 Aug 2021 14:17:13 +0430 Subject: [PATCH 1/2] readme.md: Add repology badge to show packaging status --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4efc5a3..fbfe503 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ jcal ==== - + + Packaging status + Jalali calendar is a small and portable free software library to manipulate date and time in Jalali calendar system. It's written in C and has absolutely zero dependencies. It works on top of any POSIX.1-2001 (and later) compatible libc implementations. Jalali calendar provides an API similar to that of libc's timezone, date and time functions. From 886256c2050902dbc69e2cba37ced028ff1341ab Mon Sep 17 00:00:00 2001 From: Pooya Moradi Date: Sun, 22 Aug 2021 14:25:07 +0430 Subject: [PATCH 2/2] build.yml: Add a github action workflow for building --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..d7bb720 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +on: [push, pull_request] +name: build +jobs: + build: + name: Build for ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-18.04, ubuntu-latest] + include: + - os: ubuntu-18.04 + - os: ubuntu-latest + fail-fast: false + + steps: + - name: Checkout sources + uses: actions/checkout@v2 + - name: Building + run: | + cd sources + ./autogen.sh + ./configure + make