Skip to content

ci: Test

ci: Test #27

Workflow file for this run

name: Build windows
on: [push]
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
env:
VER_NTFSPROGS: 2.0.0
steps:
- run: git config --global core.autocrlf input
shell: pwsh
- uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
install: >-
libtool
autoconf
automake
make
mingw-w64-x86_64-binutils
mingw-w64-x86_64-gcc
mingw-w64-x86_64-libjpeg-turbo
mingw-w64-x86_64-ncurses
mingw-w64-x86_64-libiconv
mingw-w64-x86_64-zlib
mingw-w64-x86_64-pkg-config
mingw-w64-x86_64-openssl
mingw-w64-x86_64-dlfcn
#- name: Install dependencies
# run: |
# pacman -Syu
# pacman -S ntfsprogs ncurses libncurses5 libncurses6 libncurses7 libncurses-devel libiconv zlib pkg-config
- name: Install NTFSPROGS
run: |
cd ${GITHUB_WORKSPACE}
mkdir build_ntfs3g
wget http://prdownloads.sourceforge.net/linux-ntfs/ntfsprogs-${VER_NTFSPROGS}.tar.gz
tar xzf ntfsprogs-${VER_NTFSPROGS}.tar.gz -C build_ntfs3g/
cd build_ntfs3g/ntfsprogs-${VER_NTFSPROGS}
./configure --disable-default-device-io-ops --disable-crypto
make CFLAGS="-DHAVE_FFS"
make install
- run: |
cd ${GITHUB_WORKSPACE}
chmod +x autogen.sh
./autogen.sh
- run: |
cd ${GITHUB_WORKSPACE}
chmod +x compile.sh
./compile.sh