build(deps): bump h2 from 0.3.21 to 0.3.26 in /ecli #1247
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test bpf-loader-rs on Ubuntu | |
on: | |
push: | |
branches: "*" | |
pull_request: | |
branches: "*" | |
env: | |
BUILD_TYPE: Release | |
INSTALL_LOCATION: .local | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: install deps | |
run: | | |
sudo make -C bpf-loader-rs install-deps | |
- name: cache dependencies | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: ${{ github.workspace }}/${{ env.INSTALL_LOCATION }} | |
key: ${{ runner.os }}-dependencies | |
- name: run unit tests | |
run: | | |
cd bpf-loader-rs/ | |
# Install rustup manually using user root | |
curl https://sh.rustup.rs -o rustup.sh | |
sudo bash -c "cat rustup.sh | sh -s -- -y ; /root/.cargo/bin/cargo test && /root/.cargo/bin/cargo clean" | |
- name: make bpf-loader-rs with release profile | |
run: make bpf-loader-rs | |
- name: Code coverage using Codecov | |
run: bash <(curl -s https://codecov.io/bash) | |