Skip to content
Snippets Groups Projects
Commit 1a377556 authored by Mingchung Xia's avatar Mingchung Xia
Browse files

Remove visualizer for pipeline only

parent f40cb0b2
No related branches found
No related tags found
1 merge request!13HNSW Implementation with Testcases
Pipeline #114981 passed with warnings
...@@ -10,7 +10,7 @@ build-macOS: ...@@ -10,7 +10,7 @@ build-macOS:
stage: build stage: build
script: script:
- swift build --target SwiftNLP -c release -Xswiftc -cross-module-optimization -Xlinker -framework -Xlinker CoreML - swift build -c release -Xswiftc -cross-module-optimization -Xlinker -framework -Xlinker CoreML
tags: tags:
- macOS - macOS
...@@ -31,7 +31,7 @@ build-linux: ...@@ -31,7 +31,7 @@ build-linux:
script: script:
- swiftly install latest - swiftly install latest
- swift build --target SwiftNLP -c release -Xswiftc -cross-module-optimization - swift build -c release -Xswiftc -cross-module-optimization
tags: tags:
- linux - linux
......
...@@ -13,10 +13,11 @@ let package = Package( ...@@ -13,10 +13,11 @@ let package = Package(
name: "SwiftNLP", name: "SwiftNLP",
targets: ["SwiftNLP"] targets: ["SwiftNLP"]
), ),
.executable( /// This is commented out to fix the gitlab pipeline, but must be uncommented when in use on macOS only.
name: "SwiftNLPVisualizer", // .executable(
targets: ["SwiftNLPVisualizer"] // name: "SwiftNLPVisualizer",
), // targets: ["SwiftNLPVisualizer"]
// ),
], ],
dependencies: [ dependencies: [
.package(url: "https://github.com/L1MeN9Yu/Elva", .upToNextMajor(from: "2.1.3")), .package(url: "https://github.com/L1MeN9Yu/Elva", .upToNextMajor(from: "2.1.3")),
...@@ -43,9 +44,10 @@ let package = Package( ...@@ -43,9 +44,10 @@ let package = Package(
dependencies: ["SwiftNLP"], dependencies: ["SwiftNLP"],
resources: [.process("Resources")] resources: [.process("Resources")]
), ),
.executableTarget( /// This is commented out to fix the gitlab pipeline, but must be uncommented when in use on macOS only.
name: "SwiftNLPVisualizer", // .executableTarget(
dependencies: ["SwiftNLP"] // name: "SwiftNLPVisualizer",
), // dependencies: ["SwiftNLP"]
// ),
] ]
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment