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

Bring to dynamic #18

Merged
merged 3 commits into from
Oct 16, 2024
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
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# https://stackoverflow.com/questions/57889719/how-to-push-nuget-package-in-github-actions
- name: "Setup .NET Core @ Latest"
uses: actions/setup-dotnet@v1
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.101' #https://github.com/NuGet/Home/issues/3406 Went to a patch version that seems to work
source-url: https://nuget.pkg.github.com/qsharp-community/index.json
dotnet-version: '8.0.x'
source-url: https://nuget.pkg.github.com/qsharp-community/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.101
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
Expand Down
9 changes: 7 additions & 2 deletions sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<DefaultSimulator>QSharpCommunity.Simulators.Chp.StabilizerSimulator</DefaultSimulator>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>
Expand All @@ -11,4 +11,9 @@
<ProjectReference Include="../src/ChpSimulator.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions src/ChpSimulator.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>

Expand All @@ -14,8 +14,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.18.2107153439" />
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.18.2107153439" />
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.28.302812" />
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.28.302812" />
</ItemGroup>

<!--For more info on the package properties check out https://docs.microsoft.com/en-us/dotnet/core/tools/csproj#nuget-metadata-properties -->
Expand Down
17 changes: 11 additions & 6 deletions test/ChpSimulator.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<Platforms>AnyCPU;x64</Platforms>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.18.2107153439" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.28.302812" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -21,4 +21,9 @@
<ProjectReference Include="..\src\ChpSimulator.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
</ItemGroup>

</Project>
Loading