reafactor and bump to 0.2.9 #163
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
name: Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
defaults: | |
run: | |
working-directory: src | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
build-config: [ debug, release ] | |
hardware-intrinsics: [ 0, 1 ] | |
env: | |
DOTNET_EnableHWIntrinsic: ${{ matrix.hardware-intrinsics }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8 | |
- name: Install dependencies | |
run: | | |
dotnet restore Verkle.sln | |
- name: Build | |
run: | | |
dotnet build Verkle.sln -c ${{ matrix.build-config }} --no-restore | |
- name: Test | |
run: | | |
dotnet test -c ${{ matrix.build-config }} |