Return to i586-mingw32msvc.yml CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / miniupnpd / .github / workflows |
1.1 ! misho 1: name: i586-mingw32msvc ! 2: ! 3: on: ! 4: push: ! 5: branches: [ master ] ! 6: pull_request: ! 7: branches: [ master ] ! 8: ! 9: jobs: ! 10: build: ! 11: runs-on: ubuntu-latest ! 12: steps: ! 13: - uses: actions/checkout@v3 ! 14: ! 15: - name: download packages ! 16: run: wget -c https://launchpad.net/ubuntu/+archive/primary/+files/mingw32-binutils_2.20-0.2ubuntu1_amd64.deb https://launchpad.net/ubuntu/+archive/primary/+files/mingw32-runtime_3.15.2-0ubuntu1_all.deb https://launchpad.net/ubuntu/+archive/primary/+files/mingw32_4.2.1.dfsg-2ubuntu1_amd64.deb ! 17: ! 18: - name: install packages ! 19: run: sudo dpkg -i mingw32-binutils_2.20-0.2ubuntu1_amd64.deb mingw32-runtime_3.15.2-0ubuntu1_all.deb mingw32_4.2.1.dfsg-2ubuntu1_amd64.deb ! 20: ! 21: - name: check for correct compiler target ! 22: run: "i586-mingw32msvc-gcc -v 2>&1 | grep -q -x 'Target: i586-mingw32msvc'" ! 23: ! 24: - name: build miniupnpc via i586-mingw32msvc ! 25: run: make -C miniupnpc -f Makefile.mingw CC=i586-mingw32msvc-gcc DLLWRAP=i586-mingw32msvc-dllwrap WINDRES=i586-mingw32msvc-windres AR=i586-mingw32msvc-ar