Changes to support missing computer name #2
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
# 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/libevtx | |
cp projects/libyal/build.sh projects/libevtx/ | |
cp projects/libyal/project.yaml projects/libevtx/ | |
head -n 20 projects/libyal/Dockerfile > projects/libevtx/Dockerfile | |
echo "RUN git clone --depth 1 https://github.com/libyal/libevtx.git libevtx" >> projects/libevtx/Dockerfile | |
tail -n 3 projects/libyal/Dockerfile >> projects/libevtx/Dockerfile | |
python3 infra/helper.py build_image --pull libevtx | |
python3 infra/helper.py build_fuzzers --sanitizer address libevtx | |
python3 infra/helper.py check_build libevtx |