Still noodling with ci

This commit is contained in:
Sean Hinde 2023-01-16 12:54:20 +01:00
parent 889c302db3
commit 1bc92a74ae
2 changed files with 5 additions and 17 deletions

View File

@ -49,18 +49,13 @@ commands:
run_build: run_build:
description: "Build" description: "Build"
steps: steps:
- checkout
- run: - run:
name: Build name: Build
command: | command: make
make
run_tests:
description: "Test"
steps:
- run: - run:
name: Test name: Test
command: | command: make test
make test
jobs: jobs:
ubuntu_2004_otp21: ubuntu_2004_otp21:
executor: ubuntu_2004 executor: ubuntu_2004
@ -69,31 +64,24 @@ jobs:
- setup_ubuntu: - setup_ubuntu:
OTP_VERSION: "21.3.8.24" OTP_VERSION: "21.3.8.24"
- run_build - run_build
- run_tests
ubuntu_2004_otp22: ubuntu_2004_otp22:
executor: ubuntu_2004 executor: ubuntu_2004
steps: steps:
- checkout
- setup_ubuntu: - setup_ubuntu:
OTP_VERSION: "22.3.4.26" OTP_VERSION: "22.3.4.26"
- run_build - run_build
- run_tests
ubuntu_2004_otp23: ubuntu_2004_otp23:
executor: ubuntu_2004 executor: ubuntu_2004
steps: steps:
- checkout
- setup_ubuntu: - setup_ubuntu:
OTP_VERSION: "23.3.4.18" OTP_VERSION: "23.3.4.18"
- run_build - run_build
- run_tests
macos_1106_otp23: macos_1106_otp23:
executor: macos_1106 executor: macos_1106
steps: steps:
- checkout
- setup_macos: - setup_macos:
OTP_VERSION: "23" OTP_VERSION: "23"
- run_build - run_build
- run_tests
nix_alpine: nix_alpine:
executor: nix_alpine_ci executor: nix_alpine_ci
steps: steps:

View File

@ -7,7 +7,7 @@ git clone https://github.com/bitcoin/secp256k1
cd secp256k1 cd secp256k1
git -c advice.detachedHead=false checkout cbe41ac138bc0773d60ab1942b7ad6fc5eccfc19 git -c advice.detachedHead=false checkout cbe41ac138bc0773d60ab1942b7ad6fc5eccfc19
./autogen.sh ./autogen.sh
./configure --enable-module-recovery CFLAGS="-fPIC" ./configure --enable-module-recovery
make clean make clean
make CFLAGS="-fPIC" make