Skip to content

Commit

Permalink
Migrate to Official Undocked Build System
Browse files Browse the repository at this point in the history
  • Loading branch information
nibanks committed Mar 17, 2024
1 parent b4fbf84 commit e95858f
Show file tree
Hide file tree
Showing 14 changed files with 206 additions and 104 deletions.
11 changes: 11 additions & 0 deletions .gitattributes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Standardize line endings for all text files.
* text eol=auto

# Ensure text files stay text
*.inx text
*.xml text

# Ensure binary files stay binary
*.pgd binary
*.png binary
*.jpg binary
File renamed without changes.
File renamed without changes.
50 changes: 25 additions & 25 deletions SUPPORT.md → .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# TODO: The maintainer of this repo has not yet edited this file

**REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project?

- **No CSS support:** Fill out this template with information about how to file issues and get help.
- **Yes CSS support:** Fill out an intake form at [aka.ms/spot](https://aka.ms/spot). CSS will work with/help you to determine next steps. More details also available at [aka.ms/onboardsupport](https://aka.ms/onboardsupport).
- **Not sure?** Fill out a SPOT intake as though the answer were "Yes". CSS will help you decide.

*Then remove this first heading from this SUPPORT.MD file before publishing your repo.*

# Support

## How to file issues and get help

This project uses GitHub Issues to track bugs and feature requests. Please search the existing
issues before filing new issues to avoid duplicates. For new issues, file your bug or
feature request as a new Issue.

For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE
FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER
CHANNEL. WHERE WILL YOU HELP PEOPLE?**.

## Microsoft Support Policy

Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
# TODO: The maintainer of this repo has not yet edited this file

**REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project?

- **No CSS support:** Fill out this template with information about how to file issues and get help.
- **Yes CSS support:** Fill out an intake form at [aka.ms/spot](https://aka.ms/spot). CSS will work with/help you to determine next steps. More details also available at [aka.ms/onboardsupport](https://aka.ms/onboardsupport).
- **Not sure?** Fill out a SPOT intake as though the answer were "Yes". CSS will help you decide.

*Then remove this first heading from this SUPPORT.MD file before publishing your repo.*

# Support

## How to file issues and get help

This project uses GitHub Issues to track bugs and feature requests. Please search the existing
issues before filing new issues to avoid duplicates. For new issues, file your bug or
feature request as a new Issue.

For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE
FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER
CHANNEL. WHERE WILL YOU HELP PEOPLE?**.

## Microsoft Support Policy

Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,23 @@ permissions: read-all

jobs:
build:
permissions:
contents: read
name: Build
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
platform: [x64, ARM64]
steps:
- name: Checkout repository
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
- name: Setup MSBuild
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce
- name: Nuget Restore
run: nuget.exe restore ntttcp.sln
- name: Build
run: |
cd src && mkdir build && cd build
cmake ..
cmake --build . --config Release
run: msbuild ntttcp.sln /p:Configuration=Release /p:Platform=${{ matrix.platform }}
- name: Upload
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8
with:
name: bin
path: |
src/build/Release/*.pdb
src/build/Release/*.exe
name: bin-${{ matrix.platform }}
path: build/bin
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "undocked"]
path = undocked
url = https://github.com/microsoft/undocked.git
31 changes: 31 additions & 0 deletions ntttcp.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.9.34607.119
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntttcp", "src\ntttcp.vcxproj", "{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Debug|x64.ActiveCfg = Debug|x64
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Debug|x64.Build.0 = Debug|x64
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Debug|ARM64.ActiveCfg = Debug|ARM64
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Debug|ARM64.Build.0 = Debug|ARM64
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Release|x64.ActiveCfg = Release|x64
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Release|x64.Build.0 = Release|x64
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Release|ARM64.ActiveCfg = Release|ARM64
{fd254344-82b5-40c1-b1da-0ce24ca5ddd4}.Release|ARM64.Build.0 = Release|ARM64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E1D24617-0ACE-4E42-8758-21F1BA8B001E}
EndGlobalSection
EndGlobal
34 changes: 0 additions & 34 deletions src/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit e95858f

Please sign in to comment.