Regenerate Japanese resources
[cygwin-setup.git] / .github / workflows / cygwin.yml
blobb406c5eba6f6c54f1a61277b8a3a6c7312b5d903
1 name: Cygwin
3 on: push
5 jobs:
6   cygwin-build:
7     name: Cygwin
8     runs-on: windows-latest
10     strategy:
11       fail-fast: false
12       matrix:
13         include:
14         - pkgarch: i686
15         - pkgarch: x86_64
17     steps:
18     - run: git config --global core.autocrlf input
20     # fetch all history for all tags for 'git describe'
21     - uses: actions/checkout@v3
22       with:
23         fetch-depth: 0
25     - name: Install Cygwin
26       uses: cygwin/cygwin-install-action@master
27       with:
28         packages: >-
29           autoconf,
30           automake,
31           bison,
32           flex,
33           libtool,
34           make,
35           mingw64-${{ matrix.pkgarch }}-bzip2,
36           mingw64-${{ matrix.pkgarch }}-gcc-g++,
37           mingw64-${{ matrix.pkgarch }}-headers,
38           mingw64-${{ matrix.pkgarch }}-libgcrypt,
39           mingw64-${{ matrix.pkgarch }}-libsolv,
40           mingw64-${{ matrix.pkgarch }}-xz,
41           mingw64-${{ matrix.pkgarch }}-zlib,
42           mingw64-${{ matrix.pkgarch }}-zstd,
43           upx
45     - name: Build
46       run: packaging-scripts/conf.sh upx ${{ matrix.pkgarch }}
47       shell: bash --noprofile --norc -eo pipefail '{0}'
49     - name: Test
50       run: >-
51         export PATH=/usr/${{ matrix.pkgarch }}-w64-mingw32/sys-root/mingw/bin/:${PATH} &&
52         make -C ${{ matrix.pkgarch }} check
53       shell: bash --noprofile --norc -eo pipefail '{0}'