-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
136 additions
and
552 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
.github/workflows/continuous-integration-workflow-spm-Ubuntu.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Build_UnitTest_SPM_Ubuntu | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
name: Swift ${{ matrix.swift }} on ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
swift: ["5.9.2"] | ||
steps: | ||
- uses: swift-actions/setup-swift@v1 | ||
with: | ||
swift-version: ${{ matrix.swift }} | ||
- uses: actions/checkout@v4 | ||
- name: Build | ||
run: swift build | ||
- name: Run tests | ||
run: swift test |
14 changes: 14 additions & 0 deletions
14
.github/workflows/continuous-integration-workflow-spm-macOS.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: unit-test | ||
on: [push] | ||
|
||
jobs: | ||
build: | ||
name: unit-test | ||
runs-on: macOS-latest | ||
env: | ||
GIT_SSL_NO_VERIFY: true | ||
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: test | ||
run: swift test |
20 changes: 0 additions & 20 deletions
20
.github/workflows/continuous-integration-workflow-xcode-latest.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// swift-tools-version: 5.9 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Tekkon", | ||
products: [ | ||
// Products define the executables and libraries a package produces, making them visible to other packages. | ||
.library( | ||
name: "Tekkon", | ||
targets: ["Tekkon"]), | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package, defining a module or a test suite. | ||
// Targets can depend on other targets in this package and products from dependencies. | ||
.target( | ||
name: "Tekkon", | ||
cxxSettings: [.unsafeFlags(["-fcxx-modules", "-fmodules"])] | ||
), | ||
.testTarget( | ||
name: "TekkonCCTests", | ||
dependencies: ["Tekkon"] | ||
// swiftSettings: [.interoperabilityMode(.Cxx)] | ||
), | ||
], | ||
cxxLanguageStandard: .cxx17 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// (c) 2022 and onwards The vChewing Project (MIT-NTL License). | ||
// ==================== | ||
// This code is released under the MIT license (SPDX-License-Identifier: MIT) | ||
// ... with NTL restriction stating that: | ||
// No trademark license is granted to use the trade names, trademarks, service | ||
// marks, or product names of Contributor, except as required to fulfill notice | ||
// requirements defined in MIT License. | ||
|
||
#include "./include/Tekkon.hh" | ||
|
||
namespace Tekkon {}; | ||
|
||
int main(int argc, const char* argv[]) { return 0; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.