Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaulting to ZKP #273

Merged
merged 2 commits into from
Jan 1, 2023
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build the Docker secp256k1 image
run: docker build .
- name: Build the Docker zkp image
run: docker build -f Exhaustive/zkp/Dockerfile .
run: docker build .
- name: Build the Docker secp256k1 image
run: docker build -f Exhaustive/Package/Dockerfile .
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ ADD . /LinuxTests
WORKDIR /LinuxTests

# Execute Linux test suite
RUN swift test && swift build --target zkp --use-integrated-swift-driver
RUN swift test && swift build --target secp256k1 --use-integrated-swift-driver
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
import PackageDescription

let package = Package(
name: "zkp",
name: "Package",
dependencies: [
.package(name: "secp256k1", path: "../..")
],
targets: [
.testTarget(
name: "zkpTests",
name: "secp256k1Tests",
dependencies: [
.product(name: "zkp", package: "secp256k1")
.product(name: "secp256k1", package: "secp256k1")
]
)
]
Expand Down
File renamed without changes.
1 change: 0 additions & 1 deletion Exhaustive/zkp/Tests/zkpTests/XCTestManifests.swift

This file was deleted.

1 change: 0 additions & 1 deletion Exhaustive/zkp/Tests/zkpTests/secp256k1Tests.swift

This file was deleted.

4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ let package = Package(
]
),
.testTarget(
name: "secp256k1Tests",
name: "zkpTests",
dependencies: [
"secp256k1"
"zkp"
]
)
],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#if canImport(secp256k1)
@testable import secp256k1
#else
#if canImport(zkp)
@testable import zkp
#else
@testable import secp256k1
#endif

import XCTest
Expand Down
2 changes: 1 addition & 1 deletion bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ workflows:
# fail if any commands fails; debug log
set -ex

swift test --package-path Exhaustive/zkp --use-integrated-swift-driver
swift test --package-path Exhaustive/Package --use-integrated-swift-driver