forked from cgsecurity/testdisk
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (53 loc) · 1.58 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
make install
- run: |
cd ${GITHUB_WORKSPACE}
chmod +x autogen.sh
./autogen.sh
- run: |
cd ${GITHUB_WORKSPACE}
chmod +x compile.sh
./compile.sh