From d6eeabd79650a0fcae6e278f1ffa98b7df3e2ff1 Mon Sep 17 00:00:00 2001 From: Yaakov Date: Sat, 25 Sep 2021 21:23:57 +1000 Subject: [PATCH] Add initial CI --- .github/workflows/ci.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..db54687 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,30 @@ +name: Build/Test + +on: +- push +- pull_request + +jobs: + build: + name: .NET on ${{ matrix.os }} + + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + configuration: + - debug + - release + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2.3.4 + + - name: Setup .NET + uses: actions/setup-dotnet@v1.8.2 + + - name: Build Solution + run: dotnet build -c ${{ matrix.configuration }} src/shamir.sln