Skip to content

Commit

Permalink
Defaulting to ZKP (#273)
Browse files Browse the repository at this point in the history
* Defaulting to ZKP

* Updating CI
  • Loading branch information
csjones authored Jan 1, 2023
1 parent 18e35ff commit 661f67f
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
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
File renamed without changes.
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
File renamed without changes.
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

0 comments on commit 661f67f

Please sign in to comment.