Skip to content

Commit 9070531

Browse files
committed
Applied updates
1 parent 4fd5608 commit 9070531

File tree

6 files changed

+49
-13
lines changed

6 files changed

+49
-13
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@v4
3131
- name: Install build dependencies
3232
run: |
33-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config
33+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config
3434
- name: Download test data
3535
run: |
3636
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
@@ -54,7 +54,7 @@ jobs:
5454
- uses: actions/checkout@v4
5555
- name: Install build dependencies
5656
run: |
57-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config
57+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config
5858
- name: Download test data
5959
run: |
6060
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
@@ -78,7 +78,7 @@ jobs:
7878
- uses: actions/checkout@v4
7979
- name: Install build dependencies
8080
run: |
81-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config libfuse-dev
81+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config libfuse-dev
8282
- name: Download test data
8383
run: |
8484
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
@@ -102,7 +102,7 @@ jobs:
102102
- uses: actions/checkout@v4
103103
- name: Install build dependencies
104104
run: |
105-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config libfuse3-dev
105+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config libfuse3-dev
106106
- name: Download test data
107107
run: |
108108
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
@@ -129,7 +129,7 @@ jobs:
129129
run: |
130130
sudo add-apt-repository universe &&
131131
sudo apt-get update &&
132-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config python3-dev python-dev-is-python3
132+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config python3-dev python-dev-is-python3
133133
- name: Download test data
134134
run: |
135135
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi
@@ -162,7 +162,7 @@ jobs:
162162
run: |
163163
sudo add-apt-repository universe &&
164164
sudo apt-get update &&
165-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config python3-dev python-dev-is-python3
165+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config python3-dev python-dev-is-python3
166166
- name: Building from source
167167
env:
168168
CC: ${{ matrix.compiler }}
@@ -186,7 +186,7 @@ jobs:
186186
- uses: actions/checkout@v4
187187
- name: Install build dependencies
188188
run: |
189-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config
189+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config
190190
- name: Download test data
191191
run: |
192192
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi

.github/workflows/build_ossfuzz.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Build OSSFuzz fuzz targets from source.
2+
name: build_ossfuzz
3+
on:
4+
push:
5+
branches: [main]
6+
permissions: read-all
7+
jobs:
8+
build_ossfuzz:
9+
runs-on: ubuntu-22.04
10+
strategy:
11+
matrix:
12+
include:
13+
- architecture: 'x64'
14+
compiler: 'gcc'
15+
configure_options: ''
16+
steps:
17+
- name: Install build dependencies
18+
run: |
19+
sudo apt-get -y install git
20+
- uses: actions/checkout@v4
21+
with:
22+
repository: google/oss-fuzz
23+
path: oss-fuzz
24+
- name: Build OSSFuzz fuzz targets
25+
working-directory: oss-fuzz
26+
run: |
27+
mkdir -p projects/libvshadow
28+
cp projects/libyal/build.sh projects/libvshadow/
29+
cp projects/libyal/project.yaml projects/libvshadow/
30+
head -n 20 projects/libyal/Dockerfile > projects/libvshadow/Dockerfile
31+
echo "RUN git clone --depth 1 https://github.com/libyal/libvshadow.git libvshadow" >> projects/libvshadow/Dockerfile
32+
tail -n 3 projects/libyal/Dockerfile >> projects/libvshadow/Dockerfile
33+
python3 infra/helper.py build_image --pull libvshadow
34+
python3 infra/helper.py build_fuzzers --sanitizer address libvshadow
35+
python3 infra/helper.py check_build libvshadow

.github/workflows/build_shared.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@ jobs:
1010
strategy:
1111
matrix:
1212
include:
13-
- architecture: 'x64'
14-
compiler: 'gcc'
15-
configure_options: ''
1613
- architecture: 'x64'
1714
compiler: 'gcc'
1815
configure_options: '--enable-wide-character-type'
1916
steps:
2017
- uses: actions/checkout@v4
2118
- name: Install build dependencies
2219
run: |
23-
sudo apt-get -y install autoconf automake autopoint build-essential git libtool pkg-config
20+
sudo apt-get -y install autoconf automake autopoint build-essential git libfuse3-dev libtool pkg-config
2421
- name: Download test data
2522
run: |
2623
if test -x "synctestdata.sh"; then ./synctestdata.sh; fi

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ install:
263263
Else {
264264
.\syncdokan.ps1 }
265265
}
266+
- ps: If (($env:BUILD_ENVIRONMENT -eq "msbuild") -And (Test-Path ".\synctestdata.ps1")) {
267+
.\synctestdata.ps1 }
268+
- sh: if ( test ${BUILD_ENVIRONMENT} = "python-tox" || test ${BUILD_ENVIRONMENT} = "xcode" ) && test -f "./synctestdata.sh"; then ./synctestdata.sh; fi
266269
- cmd: if [%TARGET%]==[vs2010] (
267270
pushd ..\dokan &&
268271
set PYTHONPATH=..\vstools &&

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ AC_PREREQ([2.71])
22

33
AC_INIT(
44
[libvshadow],
5-
[20240530],
5+
[20240813],
66
77

88
AC_CONFIG_SRCDIR(

libvshadow.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ status: "alpha"
44
year_of_creation: "2011"
55
data_format: "Volume Shadow Snapshot (VSS)"
66
documentation_url: "https://github.com/libyal/libvshadow/tree/main/documentation"
7-
features: ["debug_output"]
7+
features: ["debug_output", "ossfuzz", "python_bindings", "tools"]
88

99
[library]
1010
description: "Library to access the Windows NT Volume Shadow Snapshot (VSS) format"
11+
features: ["pthread", "wide_character_type"]
1112
public_types: ["block", "store", "volume"]
1213

1314
[tools]

0 commit comments

Comments
 (0)