From e665bac82529808f6895cb40832d8639495039e5 Mon Sep 17 00:00:00 2001 From: Paul Dreik Date: Sat, 17 Jun 2023 15:49:22 +0200 Subject: [PATCH] add CI cygwin job --- .github/workflows/cygwin.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/cygwin.yml diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml new file mode 100644 index 0000000..46614e2 --- /dev/null +++ b/.github/workflows/cygwin.yml @@ -0,0 +1,34 @@ +name: cygwin + +on: push + +jobs: + cygwin: + runs-on: windows-latest + env: + SHELLOPTS: igncr + defaults: + run: + shell: C:\tools\cygwin\bin\bash.exe --login '{0}' + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: build on cygwin + uses: egor-tensin/setup-cygwin@v4 + with: + packages: cmake gcc-g++ libnettle-devel autoconf automake make + - name: Run my action + run: | + cd ${GITHUB_WORKSPACE} + ls + aclocal --warnings=all + autoheader --warnings=all + automake --add-missing --warnings=all + autoconf --warnings=all + ./configure + make + - name: Upload windows executable + uses: actions/upload-artifact@v3 + with: + name: executable + path: ${{ github.workspace }}/rdfind.exe