Skip to content

Commit a4fa19f

Browse files
author
muxator
committed
Fight the tragedy of the commons. Reduce the load on the CI workers
1 parent e9741fe commit a4fa19f

5 files changed

+0
-930
lines changed
-46
Original file line numberDiff line numberDiff line change
@@ -1,46 +0,0 @@
1-
name: Build using CMake
2-
3-
on:
4-
push:
5-
branches:
6-
- frost
7-
pull_request:
8-
# Allows you to run this workflow manually from the Actions tab
9-
workflow_dispatch:
10-
11-
jobs:
12-
build-with-cmake:
13-
runs-on: ubuntu-24.04
14-
# Use fedora:41 to compile using gcc-14.2
15-
container:
16-
image: fedora:41
17-
steps:
18-
- name: Install build dependencies
19-
run: |
20-
dnf install -y \
21-
cmake \
22-
gcc
23-
- uses: actions/checkout@v4
24-
with:
25-
fetch-depth: 1
26-
- name: Build with CMake
27-
run: |
28-
mkdir build
29-
cd build
30-
cmake \
31-
-DCMAKE_C_FLAGS="-Werror" \
32-
-DCMAKE_BUILD_TYPE="Release" \
33-
-DSECP256K1_BUILD_TESTS=ON \
34-
-DSECP256K1_BUILD_EXHAUSTIVE_TESTS=OFF \
35-
-DSECP256K1_BUILD_BENCHMARK=OFF \
36-
-DSECP256K1_BUILD_EXAMPLES=ON \
37-
-DSECP256K1_EXPERIMENTAL=ON \
38-
-DSECP256K1_ENABLE_MODULE_FROST=ON \
39-
..
40-
make -j
41-
- name: Run FROST example
42-
run: |
43-
"${GITHUB_WORKSPACE}/build/examples/frost_example"
44-
- name: Run functional tests
45-
run: |
46-
"${GITHUB_WORKSPACE}/build/src/tests"

0 commit comments

Comments
 (0)