diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-10-27 16:29:45 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2021-04-30 14:22:07 +0100 |
commit | 2d3416440213e1208ed665558e5eda765cb5f061 (patch) | |
tree | eafca33a9219d7ac3e56f5d2c41c2f133429d50a /.github | |
parent | 548a4c3ca43543e66ec91df799379bc67a92804a (diff) | |
download | newlib-2d3416440213e1208ed665558e5eda765cb5f061.zip newlib-2d3416440213e1208ed665558e5eda765cb5f061.tar.gz newlib-2d3416440213e1208ed665558e5eda765cb5f061.tar.bz2 |
Cygwin: CI configuration update
Install autoconf and automake, and run winsup/autogen.sh, and don't have
it silently ignore failures.
On AppVeyor:
- use latest VM image, to reduce time spent installing updates.
- run the testsuite, but ignore the result, as some tests don't work
correctly.
- hardcode the python-lxml and python-ply packages to install, so we get
ones for the right python.
- install texlive collections now needed to build documentation.
On github:
- Use a copr for cocom, since RPMSphere's package updates don't track
fedora:latest very efficently.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cygwin.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index cdad8e6..f9a9a7a 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -20,15 +20,17 @@ jobs: - uses: actions/checkout@v2 # install build tools - - run: dnf install -y make patch perl + - run: dnf install -y autoconf automake make patch perl - run: dnf install -y mingw${{ matrix.pkgarch }}-gcc-c++ mingw${{ matrix.pkgarch }}-winpthreads-static mingw${{ matrix.pkgarch }}-zlib-static - # cocom isn't packaged in Fedora, so we install from a 3rd party repo - - run: dnf install -y https://github.com/rpmsphere/noarch/raw/master/r/rpmsphere-release-$(rpm -E %fedora)-1.noarch.rpm + # enable 'dnf copr' + - run: dnf install -y dnf-plugins-core + + # cocom isn't packaged in Fedora, so we install from a copr + - run: dnf copr enable -y jturney/cocom - run: dnf install -y cocom # install cross-cygwin toolchain and libs from copr - - run: dnf install -y dnf-plugins-core - run: dnf copr enable -y yselkowitz/cygwin - run: dnf install -y cygwin${{ matrix.pkgarch }}-gcc-c++ cygwin${{ matrix.pkgarch }}-gettext cygwin${{ matrix.pkgarch }}-libbfd cygwin${{ matrix.pkgarch }}-libiconv cygwin${{ matrix.pkgarch }}-zlib @@ -38,6 +40,7 @@ jobs: # build - run: mkdir build install + - run: cd winsup && ./autogen.sh - run: cd build && ../configure --target=${{ matrix.target }} --prefix=$(realpath $(pwd)/../install) - run: make -C build - run: make -C build/*/newlib info man |