From a18b1c9cc1293de9ac7a95ceffd66f624c2b5484 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Thu, 27 May 2021 21:29:14 +0200 Subject: [PATCH] Preliminary github actions support --- .github/workflows/github-actions-build.yml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/github-actions-build.yml diff --git a/.github/workflows/github-actions-build.yml b/.github/workflows/github-actions-build.yml new file mode 100644 index 00000000..e002fc98 --- /dev/null +++ b/.github/workflows/github-actions-build.yml @@ -0,0 +1,27 @@ +name: Build +on: [push] +jobs: + build-mac: + runs-on: macos-latest + steps: + - run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v2 + - run: brew install automake + - run: autoreconf -i + - run: ./configure --enable-warning-as-error + - run: make all + - run: make dist + build-linux: + runs-on: ubuntu-latest + steps: + - run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v2 + - run: autoreconf -i + - run: ./configure --enable-warning-as-error + - run: make all + - run: make dist +