|
79 | 79 | - run: make -j8 check V=1 CFLAGS_WARN="-Werror -Wno-error=deprecated-declarations"
|
80 | 80 | - run: make -j8 install DESTDIR=$PWD/installdir
|
81 | 81 | - run: make -j8 uninstall DESTDIR=$PWD/installdir
|
82 |
| - |
83 |
| - windows-msys2-build: |
84 |
| - name: Build mke2fs on Windows with ${{matrix.sys}} |
85 |
| - runs-on: windows-latest |
86 |
| - strategy: |
87 |
| - matrix: |
88 |
| - include: |
89 |
| - - { sys: mingw32, env: i686 } |
90 |
| - - { sys: mingw64, env: x86_64 } |
91 |
| - defaults: |
92 |
| - run: |
93 |
| - shell: msys2 {0} |
94 |
| - steps: |
95 |
| - - uses: actions/checkout@v3 |
96 |
| - - uses: msys2/setup-msys2@v2 |
97 |
| - with: |
98 |
| - msystem: ${{matrix.sys}} |
99 |
| - update: true |
100 |
| - install: > |
101 |
| - make |
102 |
| - mingw-w64-${{matrix.env}}-cc |
103 |
| - # For now the only parts that actually build for Windows are mke2fs and its |
104 |
| - # dependencies: all libraries except libss. The build system doesn't want |
105 |
| - # to build just those parts, though, so do it one step at a time... |
106 |
| - - run: ./configure CFLAGS="$DEF_CFLAGS" |
107 |
| - - run: make -j8 subs V=1 CFLAGS_WARN="-Werror" |
108 |
| - - run: make -j8 -C lib/et/ all V=1 CFLAGS_WARN="-Werror" |
109 |
| - - run: make -j8 -C lib/uuid/ all V=1 CFLAGS_WARN="-Werror" |
110 |
| - - run: make -j8 -C lib/blkid/ all V=1 CFLAGS_WARN="-Werror" |
111 |
| - - run: make -j8 -C lib/ext2fs/ all V=1 CFLAGS_WARN="-Werror" |
112 |
| - - run: make -j8 -C lib/support/ all V=1 CFLAGS_WARN="-Werror" |
113 |
| - - run: make -j8 -C lib/e2p/ all V=1 CFLAGS_WARN="-Werror" |
114 |
| - - run: make -j8 -C misc/ mke2fs V=1 CFLAGS_WARN="-Werror" |
115 |
| - - run: touch image.ext4 |
116 |
| - - run: misc/mke2fs.exe -T ext4 image.ext4 128M |
0 commit comments