Skip to content

Commit

Permalink
feat: add action net 9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ohko4711 committed Nov 22, 2024
1 parent 3acb4b7 commit 218256a
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/test_run_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
clients: ${{ steps.set-date.outputs.clients }}
sizes: ${{ steps.set-date.outputs.sizes }}
repetitions: ${{ steps.set-date.outputs.repetitions }}
dotnet-version: "9.0.x"
steps:
- name: Set DATE variable
id: set-date
Expand Down Expand Up @@ -108,14 +109,10 @@ jobs:
client: ${{ fromJson(needs.generate-matrix.outputs.matrix).Client }}
fail-fast: false
steps:
- name: Increase swapfile
run: |
sudo swapoff -a
sudo fallocate -l 15G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0.x"

- name: Clone gas benchmarks repo
run: |
Expand Down Expand Up @@ -187,6 +184,11 @@ jobs:
size: ${{ fromJson(needs.run-gas-benchmarks.outputs.matrix).Size }}
fail-fast: false
steps:
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0.x"

- name: Clone genesis init benchmarks repo
run: |
ROOT_DIR=${{ needs.run-gas-benchmarks.outputs.root_dir }}
Expand Down Expand Up @@ -258,6 +260,11 @@ jobs:
size: ${{ fromJson(needs.run-genesis-init-speed-benchmarks.outputs.matrix).Size }}
fail-fast: false
steps:
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0.x"

- name: Clone genesis init benchmarks repo
run: |
ROOT_DIR=${{ needs.run-genesis-init-speed-benchmarks.outputs.root_dir }}
Expand Down Expand Up @@ -331,6 +338,11 @@ jobs:
sizes: ${{ needs.run-genesis-init-memory-benchmarks.outputs.sizes }}
repetitions: ${{ needs.run-genesis-init-memory-benchmarks.outputs.repetitions }}
steps:
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: "9.0.x"

- name: Create /tmp/ directory
run: mkdir -p /tmp/

Expand Down

0 comments on commit 218256a

Please sign in to comment.