From 94152632f030030015787636f2ae924374c9a1d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= Date: Sat, 4 Jan 2025 08:31:06 +0000 Subject: [PATCH] Merged revision(s) 22768, 22771 from trunk/OpenMPT: [New] build: CI: GitHub: Add Cygwin Makefile builder. ........ [Fix] CI: Github: Cygwin: Cancel old jobs. ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@22777 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- .github/workflows/Cygwin-Makefile.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/Cygwin-Makefile.yml diff --git a/.github/workflows/Cygwin-Makefile.yml b/.github/workflows/Cygwin-Makefile.yml new file mode 100644 index 00000000000..925375b155f --- /dev/null +++ b/.github/workflows/Cygwin-Makefile.yml @@ -0,0 +1,24 @@ +name: Cygwin Makefile + +on: + push: + branches: [ OpenMPT-1.31 ] + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - uses: cygwin/cygwin-install-action@master + with: + packages: subversion make gcc-core gcc-g++ autoconf autoconf-archive automake zlib-devel libmpg123-devel libogg-devel libvorbis-devel libsndfile-devel libflac-devel libSDL2-devel libportaudio-devel libportaudiocpp-devel libpulse-devel help2man doygen graphviz curl p7zip zip unzip perl-XML-XPath + - name: setup parallel make + run: bash -c 'echo MAKEFLAGS=-j${NUMBER_OF_PROCESSORS} >> $GITHUB_ENV' + - name: make + run: bash -c 'make' + - name: make check + run: bash -c 'make check'