From 1bc92a74ae6d9c9063a266069c31757883595495 Mon Sep 17 00:00:00 2001 From: Sean Hinde Date: Mon, 16 Jan 2023 12:54:20 +0100 Subject: [PATCH] Still noodling with ci --- .circleci/config.yml | 18 +++--------------- secp256k1.sh | 4 ++-- 2 files changed, 5 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1547e29..3e935df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,18 +49,13 @@ commands: run_build: description: "Build" steps: + - checkout - run: name: Build - command: | - make - run_tests: - description: "Test" - steps: + command: make - run: name: Test - command: | - make test - + command: make test jobs: ubuntu_2004_otp21: executor: ubuntu_2004 @@ -69,31 +64,24 @@ jobs: - setup_ubuntu: OTP_VERSION: "21.3.8.24" - run_build - - run_tests ubuntu_2004_otp22: executor: ubuntu_2004 steps: - - checkout - setup_ubuntu: OTP_VERSION: "22.3.4.26" - run_build - - run_tests ubuntu_2004_otp23: executor: ubuntu_2004 steps: - - checkout - setup_ubuntu: OTP_VERSION: "23.3.4.18" - run_build - - run_tests macos_1106_otp23: executor: macos_1106 steps: - - checkout - setup_macos: OTP_VERSION: "23" - run_build - - run_tests nix_alpine: executor: nix_alpine_ci steps: diff --git a/secp256k1.sh b/secp256k1.sh index 93d53b4..1e7748c 100755 --- a/secp256k1.sh +++ b/secp256k1.sh @@ -7,7 +7,7 @@ git clone https://github.com/bitcoin/secp256k1 cd secp256k1 git -c advice.detachedHead=false checkout cbe41ac138bc0773d60ab1942b7ad6fc5eccfc19 ./autogen.sh -./configure --enable-module-recovery +CFLAGS="-fPIC" ./configure --enable-module-recovery make clean -make CFLAGS="-fPIC" +make