Skip to content
Open
Show file tree
Hide file tree
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
16 changes: 4 additions & 12 deletions .github/scripts/install-macos-build-deps.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
#!/bin/bash
set -ex
set -euxo pipefail

# update brew
brew update

# Update openssl if necessary
brew outdated openssl || brew upgrade openssl

# Install packages needed to build lib-secp256k1
for pkg in pkg-config; do
brew list $pkg > /dev/null || brew install $pkg
brew outdated --quiet $pkg || brew upgrade $pkg
done
# CMake uses pkg-config to detect system libraries. Avoid updating the entire
# Homebrew installation in every CI job; the hosted runner image is immutable.
brew list pkg-config > /dev/null 2>&1 || brew install pkg-config
27 changes: 27 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: benchmark

on:
workflow_dispatch:

jobs:
benchmark:
name: Run benchmarks
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7

- uses: actions/setup-python@v6
with:
python-version: '3.14'

- name: Install GMP headers
run: |
sudo apt-get update
sudo apt-get install --yes libgmp-dev

- name: Install uv
uses: astral-sh/setup-uv@v8

- name: Run benchmarks
run: uv run --python-preference system scripts/bench.py
Loading
Loading