diff --git a/.github/workflows/build-docfx.yml b/.github/workflows/build-docfx.yml new file mode 100644 index 000000000..834caf21d --- /dev/null +++ b/.github/workflows/build-docfx.yml @@ -0,0 +1,34 @@ +name: Build Docfx + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v2 + with: + submodules: true + + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 6.0.x + - name: Setup Docfx + run: choco install docfx -y + + - name: Install dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore /p:WarningsAsErrors=nullable + - name: Test Engine + run: cd Robust.Docfx && docfx