Skip to content

ci: Test

ci: Test #21

Workflow file for this run

name: Build windows
on: [push]
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
env:
VER_LIBNTFS3G: 2022.10.3
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-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 https://tuxera.com/opensource/ntfs-3g_ntfsprogs-${VER_LIBNTFS3G}.tgz
tar xzf ntfs-3g_ntfsprogs-${VER_LIBNTFS3G}.tgz -C build_ntfs3g/
cd build_ntfs3g/ntfs-3g_ntfsprogs-${VER_LIBNTFS3G}
./configure --disable-device-default-io-ops --disable-crypto --disable-ntfs-3g
make
make install
- run: |
cd ${GITHUB_WORKSPACE}
chmod +x autogen.sh
./autogen.sh
- run: |
cd ${GITHUB_WORKSPACE}
chmod +x compile.sh
./compile.sh