Update README.md #366
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: Test Hedra | |
on: [push] | |
jobs: | |
build-deps: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.HEDRA_CI }} | |
submodules: true | |
- name: Setup Dotnet for use with actions | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.100' | |
- name: Build Dependencies windows | |
if: matrix.os == 'windows-latest' | |
shell: bash | |
run: ./build-deps-windows.sh | |
- name: Build Dependencies ubuntu | |
if: matrix.os == 'ubuntu-latest' | |
shell: bash | |
run: sudo ./build-deps-linux.sh | |
- name: Set up global.json | |
run: | | |
dotnet --list-sdks | |
dotnet new globaljson --sdk-version 6.0.100 | |
- name: Test solution | |
run: | | |
dotnet --version | |
dotnet test -c Release "Project Hedra.sln" |