Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt update in GH workflow #352

Merged
merged 4 commits into from
Apr 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
python-version: "3.6"
- name: Install dependencies
run: |
sudo apt install build-essential gcc-multilib cmake libffi-dev
sudo apt-get update
sudo apt-get install -y build-essential gcc-multilib cmake libffi-dev
python -m pip install --upgrade pip
pip install z3-solver angr nose
pip install git+git://github.com/trailofbits/manticore.git
Expand All @@ -66,7 +67,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: whoan/docker-build-with-cache-action@v3
- uses: whoan/docker-build-with-cache-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -75,9 +76,10 @@ jobs:
image_tag: latest
context: docker/base
dockerfile: Dockerfile
pull_image_and_stages: false # if OOM error
push_image_and_stages: true # because we run workflow on PRs
build_extra_args: "--tag deepstate-base"
- uses: whoan/docker-build-with-cache-action@v3
- uses: whoan/docker-build-with-cache-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -86,7 +88,7 @@ jobs:
image_tag: latest
context: .
dockerfile: docker/Dockerfile
# pull_image_and_stages: false # if OOM error
pull_image_and_stages: false # if OOM error
push_image_and_stages: true # because we run workflow on PRs
build_extra_args: "--cache-from=deepstate-base --build-arg=make_j=2"
- name: Test fuzzers
Expand Down