Skip to content

Commit b8ccf52

Browse files
authored
Updating Bitrise.yml and Package.swift (#13)
* Updating bitrise.yml and Package.swift * Adding edge stack trigger * Add push trigger for releases
1 parent 2236e4a commit b8ccf52

File tree

2 files changed

+14
-24
lines changed

2 files changed

+14
-24
lines changed

Package.swift

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ let package = Package(
77
name: "secp256k1",
88
products: [
99
// The `libsecp256k1` bindings to programatically work with Swift.
10-
//
1110
// WARNING: These APIs should not be considered stable and may change at any time.
1211
.library(
1312
name: "secp256k1",
@@ -34,13 +33,11 @@ let package = Package(
3433
cSettings: [
3534
.headerSearchPath("secp256k1"),
3635
// Basic config values that are universal and require no dependencies.
37-
//
38-
// https://github.com/bitcoin-core/secp256k1/blob/master/src/basic-config.h#L29-L34
36+
// https://github.com/bitcoin-core/secp256k1/blob/master/src/basic-config.h#L27-L31
3937
.define("USE_NUM_NONE"),
4038
.define("USE_FIELD_INV_BUILTIN"),
4139
.define("USE_SCALAR_INV_BUILTIN"),
42-
.define("USE_FIELD_10X26"),
43-
.define("USE_SCALAR_8X32"),
40+
.define("USE_WIDEMUL_64"),
4441
.define("ECMULT_WINDOW_SIZE", to: "15", nil),
4542
.define("ECMULT_GEN_PREC_BITS", to: "4", nil)
4643
]

bitrise.yml

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,28 @@ format_version: '8'
33
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
44
project_type: other
55
trigger_map:
6+
- push_branch: "*"
7+
workflow: Release
68
- pull_request_source_branch: "*/edge/*"
7-
workflow: Edge-Workflow
9+
workflow: Edge-Pull-Request
810
- pull_request_source_branch: "*"
9-
workflow: Entry-Workflow
11+
workflow: Pull-Request
1012
workflows:
11-
Entry-Workflow:
13+
Pull-Request:
1214
steps:
13-
- activate-ssh-key@4:
14-
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
1515
- git-clone@4: {}
16-
- script@1:
17-
title: Trigger Bitrise Workflow
18-
inputs:
19-
- content: bitrise --ci run --secret-filtering --workflow Code-Review --config
20-
bitrise.yml
21-
Code-Review:
16+
- swift-package-manager-test-for-mac@0: {}
17+
- deploy-to-bitrise-io@1: {}
18+
Release:
2219
steps:
20+
- git-clone@4: {}
2321
- swift-package-manager-test-for-mac@0: {}
2422
- deploy-to-bitrise-io@1: {}
25-
Edge-Workflow:
23+
Edge-Pull-Request:
2624
steps:
27-
- activate-ssh-key@4:
28-
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
2925
- git-clone@4: {}
30-
- script@1:
31-
title: Trigger Bitrise Workflow
32-
inputs:
33-
- content: bitrise --ci run --secret-filtering --workflow Code-Review --config
34-
bitrise.yml
26+
- swift-package-manager-test-for-mac@0: {}
27+
- deploy-to-bitrise-io@1: {}
3528
meta:
3629
bitrise.io:
3730
stack: osx-xcode-12.0.x

0 commit comments

Comments
 (0)