diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2021-02-07 00:15:09 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2021-02-07 00:15:09 +0300 |
commit | fb28b14f372b6e7f97244c5ecbbfff39eef65452 (patch) | |
tree | 2b19505462f7e302b836f06c4e4af59a2c71c8e6 /.github | |
parent | b9e16cb136a42556ea57b1dac63560f02cb57324 (diff) |
Run tests on Linux and Windows.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/unit_tests.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index d4ffe9ef5..380afc2b6 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -10,12 +10,21 @@ jobs: test: name: Run tests - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest, windows-latest ] steps: - name: Install mono + if: matrix.os == 'ubuntu-latest' run: sudo apt-get install mono-complete + - name: Add msbuild to PATH + if: matrix.os == 'windows-latest' + uses: microsoft/setup-msbuild@v1.0.2 + - name: Checkout Source uses: actions/checkout@v2 |