mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-28 17:47:05 +03:00
Merge pull request #12542 from evverx/TEST-PIPELINE
move the FuzzBuzz stage to Azure Pipelines
This commit is contained in:
commit
5de55cc865
@ -91,13 +91,6 @@ jobs:
|
||||
after_script:
|
||||
- $CI_MANAGERS/debian.sh CLEANUP
|
||||
|
||||
- name: FuzzBuzz
|
||||
language: bash
|
||||
script:
|
||||
- set -e
|
||||
- $CI_MANAGERS/fuzzbuzz.sh
|
||||
- set +e
|
||||
|
||||
- stage: Coverity
|
||||
language: bash
|
||||
env:
|
||||
|
@ -6,7 +6,8 @@
|
||||
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/1369/badge)](https://bestpractices.coreinfrastructure.org/projects/1369)<br/>
|
||||
[![Travis CI Build Status](https://travis-ci.org/systemd/systemd.svg?branch=master)](https://travis-ci.org/systemd/systemd)<br/>
|
||||
[![Language Grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/systemd/systemd.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/systemd/systemd/context:cpp)<br/>
|
||||
[![CentOS CI Build Status](https://ci.centos.org/buildStatus/icon?job=systemd-pr-build)](https://ci.centos.org/job/systemd-pr-build/)
|
||||
[![CentOS CI Build Status](https://ci.centos.org/buildStatus/icon?job=systemd-pr-build)](https://ci.centos.org/job/systemd-pr-build/)<br/>
|
||||
[![Build Status](https://dev.azure.com/evvers/systemd-systemd/_apis/build/status/systemd.systemd?branchName=master)](https://dev.azure.com/evvers/systemd-systemd/_build/latest?definitionId=1&branchName=master)
|
||||
|
||||
## Details
|
||||
|
||||
|
@ -1,11 +1,27 @@
|
||||
trigger:
|
||||
- master
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
jobs:
|
||||
- job: FuzzBuzz
|
||||
displayName: FuzzBuzz
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
set -e
|
||||
sudo ./travis-ci/managers/xenial.sh
|
||||
displayName: 'This is where it gets darker'
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
set -e
|
||||
./travis-ci/managers/fuzzbuzz.sh
|
||||
displayName: 'This is where it gets darker'
|
||||
|
||||
- job: ASan_UBSan
|
||||
displayName: ASan_UBSan
|
||||
|
||||
pool:
|
||||
vmImage: 'ubuntu-latest'
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
set -e
|
||||
sudo ./travis-ci/managers/xenial.sh
|
||||
displayName: 'This is where it gets darker'
|
||||
|
@ -2,6 +2,9 @@
|
||||
|
||||
set -e
|
||||
set -x
|
||||
set -u
|
||||
|
||||
REPO_ROOT=${REPO_ROOT:-$(pwd)}
|
||||
|
||||
cd $REPO_ROOT
|
||||
wget https://app.fuzzbuzz.io/releases/cli/latest/linux/fuzzbuzz
|
||||
@ -12,5 +15,8 @@ chmod +x fuzzbuzz
|
||||
git clone https://github.com/google/oss-fuzz /tmp/oss-fuzz
|
||||
cd /tmp/oss-fuzz
|
||||
sudo ./infra/helper.py pull_images
|
||||
sudo ./infra/helper.py build_fuzzers --clean --sanitizer=memory systemd $REPO_ROOT
|
||||
sudo ./infra/helper.py check_build --sanitizer=memory systemd
|
||||
|
||||
# helper.py is wrapped in script to trick it into thinking it's "interactive"
|
||||
# See https://github.com/systemd/systemd/pull/12542#issuecomment-491563572
|
||||
sudo script -e -c "./infra/helper.py build_fuzzers --clean --sanitizer=memory systemd $REPO_ROOT"
|
||||
sudo script -e -c "./infra/helper.py check_build --sanitizer=memory systemd"
|
||||
|
Loading…
x
Reference in New Issue
Block a user