-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from merschformann/merschformann/linux-arm-exp…
…eriment Consolidates CLI, supplies LWH & cubes on output, enables single binary compilation, upgrade to net7
- Loading branch information
Showing
23 changed files
with
138 additions
and
119 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -3,26 +3,26 @@ name: build | |
on: [push] | ||
|
||
jobs: | ||
build: | ||
name: build & test | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
dotnet-version: ['6.0.x' ] | ||
build: | ||
name: build & test | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
dotnet-version: ["7.0.x"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: ${{ matrix.dotnet-version }} | ||
# - name: Validate version consistency | ||
# run: bash validate-version-consistency.sh | ||
# working-directory: ./Material/Scripts | ||
# shell: bash | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --configuration Release --no-restore | ||
- name: Test | ||
run: dotnet test --no-restore --verbosity normal | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: ${{ matrix.dotnet-version }} | ||
# - name: Validate version consistency | ||
# run: bash validate-version-consistency.sh | ||
# working-directory: ./Material/Scripts | ||
# shell: bash | ||
- name: Install dependencies | ||
run: dotnet restore | ||
- name: Build | ||
run: dotnet build --configuration Release --no-restore | ||
- name: Test | ||
run: dotnet test --no-restore --verbosity normal |
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 |
---|---|---|
@@ -1,26 +1,26 @@ | ||
name: publish | ||
|
||
on: | ||
workflow_dispatch: # Allow manual trigger | ||
release: | ||
types: [created] | ||
workflow_dispatch: # Allow manual trigger | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
publish-sardinecan: | ||
runs-on: ubuntu-latest | ||
publish-sardinecan: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Get version | ||
run: | | ||
echo "VERSION=$(cat VERSION.txt)" >> $GITHUB_ENV | ||
- name: Get version | ||
run: | | ||
echo "VERSION=$(cat VERSION.txt)" >> $GITHUB_ENV | ||
- name: Build the SardineCan Docker image | ||
run: | | ||
echo "Building SardineCan docker in ${{ env.VERSION }}" | ||
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin | ||
docker build --tag ghcr.io/merschformann/sardinecan:latest --tag ghcr.io/merschformann/sardinecan:${{ env.VERSION }} -f Dockerfile .. | ||
docker push ghcr.io/merschformann/sardinecan:latest | ||
docker push ghcr.io/merschformann/sardinecan:${{ env.VERSION }} | ||
working-directory: ./SC.Service | ||
- name: Build the SardineCan Docker image | ||
run: | | ||
echo "Building SardineCan docker in ${{ env.VERSION }}" | ||
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin | ||
docker build --tag ghcr.io/merschformann/sardinecan:latest --tag ghcr.io/merschformann/sardinecan:${{ env.VERSION }} -f Dockerfile .. | ||
docker push ghcr.io/merschformann/sardinecan:latest | ||
docker push ghcr.io/merschformann/sardinecan:${{ env.VERSION }} | ||
working-directory: ./SC.Service |
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
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 |
---|---|---|
@@ -1,18 +1,21 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Platforms>x64;x86</Platforms> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<SelfContained>true</SelfContained> | ||
<PublishSingleFile>true</PublishSingleFile> | ||
<InvariantGlobalization>true</InvariantGlobalization> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="CommandLineParser" Version="2.8.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\SC.ExecutionHandler\SC.ExecutionHandler.csproj" /> | ||
<ProjectReference Include="..\SC.Heuristics\SC.Heuristics.csproj" /> | ||
<ProjectReference Include="..\SC.ObjectModel\SC.ObjectModel.csproj" /> | ||
<ProjectReference Include="..\SC.Linear\SC.Linear.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Platforms>x64;x86</Platforms> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<Version>1.0.6</Version> | ||
<SelfContained>true</SelfContained> | ||
</PropertyGroup> | ||
|
||
</Project> |
Oops, something went wrong.