Skip to content

Merge pull request #11 from zerobounce/dependabot/github_actions/main… #20

Merge pull request #11 from zerobounce/dependabot/github_actions/main…

Merge pull request #11 from zerobounce/dependabot/github_actions/main… #20

Workflow file for this run

# Build and run Google Test suite on every PR.
name: SDK CI
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main, master]
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential cmake libssl-dev
- name: Configure and build
run: cmake -S . -B build -G "Unix Makefiles" && cmake --build build
- name: Run tests
run: ctest --test-dir build --output-on-failure