Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AFLplusplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ulf Kargén
AFLplusplus
Commits
3e65e1a0
Commit
3e65e1a0
authored
3 years ago
by
Ruben ten Hove
Browse files
Options
Downloads
Patches
Plain Diff
fix test using test specific build
parent
b3edb657
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/codeql-analysis.yml
+1
-1
1 addition, 1 deletion
.github/workflows/codeql-analysis.yml
.github/workflows/container.yml
+9
-2
9 additions, 2 deletions
.github/workflows/container.yml
Dockerfile
+8
-4
8 additions, 4 deletions
Dockerfile
with
18 additions
and
7 deletions
.github/workflows/codeql-analysis.y
a
ml
→
.github/workflows/codeql-analysis.yml
+
1
−
1
View file @
3e65e1a0
...
...
@@ -7,7 +7,7 @@ on:
branches
:
[
stable
,
dev
]
jobs
:
codeql
:
analyze
:
name
:
Analyze
runs-on
:
ubuntu-latest
container
:
# We use a previous image as it's expected to have all the dependencies
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/container.y
a
ml
→
.github/workflows/container.yml
+
9
−
2
View file @
3e65e1a0
...
...
@@ -23,11 +23,18 @@ jobs:
uses
:
docker/build-push-action@v3
with
:
context
:
.
tags
:
aflplusplus:amd64
tags
:
aflplusplus:
test-
amd64
load
:
true
cache-to
:
type=gha,mode=max
build-args
:
|
TEST_BUILD=1
-
name
:
Test amd64
run
:
docker run --rm aflplusplus:amd64 bash -c "apt-get update && apt-get install -y libcmocka-dev && make -i tests"
run
:
>
docker run --rm aflplusplus:test-amd64 bash -c "
apt-get update &&
apt-get install -y libcmocka-dev &&
make -i tests
"
push
:
name
:
Push amd64 and arm64 images
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
8
−
4
View file @
3e65e1a0
...
...
@@ -63,11 +63,11 @@ RUN git clone --depth=1 https://github.com/vanhauser-thc/afl-cov && \
(
cd
afl-cov
&&
make
install
)
&&
rm
-rf
afl-cov
# Until gcc v12.1 is released for ubuntu https://bugs.launchpad.net/ubuntu/+source/gcc-11/+bug/1940029
ARG
NO_NYX=1
ENV
NO_NYX=1
# Build currently broken
ARG
NO_CORESIGHT=1
ARG
NO_UNICORN_ARM64=1
ENV
NO_CORESIGHT=1
ENV
NO_UNICORN_ARM64=1
WORKDIR
/AFLplusplus
COPY
. .
...
...
@@ -75,8 +75,12 @@ COPY . .
ARG
CC=gcc-$GCC_VERSION
ARG
CXX=g++-$GCC_VERSION
# Used in CI to prevent a 'make clean' which would remove the binaries to be tested
ARG
TEST_BUILD
RUN
sed
-i
.bak
's/^ -/ /g'
GNUmakefile
&&
\
make clean
&&
make distrib
&&
make
install
&&
make clean
&&
\
make clean
&&
make distrib
&&
\
([
"
${
TEST_BUILD
}
"
]
||
(
make
install
&&
make clean
))
&&
\
mv
GNUmakefile.bak GNUmakefile
RUN
echo
"set encoding=utf-8"
>
/root/.vimrc
&&
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment