Skip to content

Commit

Permalink
CI/CD updates
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingRobot committed Mar 14, 2024
1 parent 24c8634 commit c530b67
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
submodules: recursive

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'

Expand All @@ -48,14 +48,14 @@ jobs:
run: python ./.github/create_unofficial.py ${{env.PROJECT_NAME}}

- name: Upload Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{env.PROJECT_NAME}}
path: ${{env.PROJECT_NAME}}/bin/x64/Release/${{env.PROJECT_NAME}}
if-no-files-found: error

- name: Upload Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: TestResults
Expand Down Expand Up @@ -88,10 +88,9 @@ jobs:
submodules: recursive

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7.0
8.0
9.0
Expand All @@ -109,13 +108,13 @@ jobs:
dotnet run --configuration Release --project Benchmark -- -e json html github csv -f * -d -m
- name: Upload Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: BenchmarkResults
path: BenchmarkDotNet.Artifacts

- name: Cache Benchmark Data
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./bench-cache
key: ${{runner.os}}-${{ github.head_ref || github.ref_name }}-benchmark
Expand Down

1 comment on commit c530b67

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: c530b67 Previous: 24c8634 Ratio
Craftimizer.Benchmark.Bench.Solve(State: 8EAB2840, Config: B2774E60) 1144913160 ns (± 3718591.498096327)
Craftimizer.Benchmark.Bench.Solve(State: 8EAB2840, Config: B2774E60) 1072846553.3333334 ns (± 2553784.016168575)
Craftimizer.Benchmark.Bench.Solve(State: F5DE9A8F, Config: B2774E60) 872777646.6666666 ns (± 5653827.027000215)
Craftimizer.Benchmark.Bench.Solve(State: F5DE9A8F, Config: B2774E60) 861586073.3333334 ns (± 1932442.794742546)

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.