Skip to content

Commit

Permalink
Merge pull request #352 from trailofbits/fix_gh_actions
Browse files Browse the repository at this point in the history
apt update in GH workflow
  • Loading branch information
GrosQuildu authored Apr 1, 2020
2 parents 9fe1d2b + 5cd8943 commit 0eb0a09
Showing 1 changed file with 6 additions and 4 deletions.
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

0 comments on commit 0eb0a09

Please sign in to comment.