-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd3d120
commit 3628220
Showing
6 changed files
with
49 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Build OSSFuzz fuzz targets from source. | ||
name: build_ossfuzz | ||
on: | ||
push: | ||
branches: [main] | ||
permissions: read-all | ||
jobs: | ||
build_ossfuzz: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
include: | ||
- architecture: 'x64' | ||
compiler: 'gcc' | ||
configure_options: '' | ||
steps: | ||
- name: Install build dependencies | ||
run: | | ||
sudo apt-get -y install git | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: google/oss-fuzz | ||
path: oss-fuzz | ||
- name: Build OSSFuzz fuzz targets | ||
working-directory: oss-fuzz | ||
run: | | ||
mkdir -p projects/libbde | ||
cp projects/libyal/build.sh projects/libbde/ | ||
cp projects/libyal/project.yaml projects/libbde/ | ||
head -n 20 projects/libyal/Dockerfile > projects/libbde/Dockerfile | ||
echo "RUN git clone --depth 1 https://github.com/libyal/libbde.git libbde" >> projects/libbde/Dockerfile | ||
tail -n 3 projects/libyal/Dockerfile >> projects/libbde/Dockerfile | ||
python3 infra/helper.py build_image --pull libbde | ||
python3 infra/helper.py build_fuzzers --sanitizer address libbde | ||
python3 infra/helper.py check_build libbde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters