Skip to content

Commit

Permalink
build: install libcap-dev for linux actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Mar 29, 2021
1 parent bfec96f commit 57f03b3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Install libcap-dev
run: sudo apt-get install -y libcap-dev
- name: Make tarball
run: |
export DISTTYPE=nightly
Expand All @@ -51,6 +53,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Install libcap-dev
run: sudo apt-get install -y libcap-dev
- name: Download tarball
uses: actions/download-artifact@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/coverage-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
run: npx envinfo
- name: Install gcovr
run: pip install gcovr==4.2
- name: Install libcap-dev
run: sudo apt-get install -y libcap-dev
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn --coverage"
# TODO(bcoe): fix the couple tests that fail with the inspector enabled.
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Install libcap-dev
run: sudo apt-get install -y libcap-dev
- name: Build
run: make build-ci -j2 V=1
- name: Test
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Environment Information
run: npx envinfo
- name: Install libcap-dev
run: sudo apt-get install -y libcap-dev
- name: Build
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
- name: Test
Expand Down

0 comments on commit 57f03b3

Please sign in to comment.