From 810daaa825a263847f5862f6628291c886cdd87b Mon Sep 17 00:00:00 2001 From: Akhan Zhakiyanov Date: Fri, 13 Sep 2024 15:14:24 +0800 Subject: [PATCH] feat: add Github Actions build workflow and empty solution file (#3) --- .github/workflows/build.yaml | 30 ++++++++++++++++++++++++++++++ README.md | 3 +++ src/AEMO.MDFF.sln | 10 ++++++++++ 3 files changed, 43 insertions(+) create mode 100644 .github/workflows/build.yaml create mode 100644 src/AEMO.MDFF.sln diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..7359145 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,30 @@ +name: Build + +on: + pull_request: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + dotnet: [ '8.x' ] + + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: ${{ matrix.dotnet }} + dotnet-quality: 'ga' + + - name: Build solution + working-directory: src + run: dotnet build + + - name: Run unit-tests + working-directory: src + run: dotnet test diff --git a/README.md b/README.md index 0ada449..a822888 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ # AEMO.MDFF +[![Build](https://github.com/ahanoff/aemo-mdff-net/actions/workflows/build.yaml/badge.svg)](https://github.com/ahanoff/aemo-mdff-net/actions/workflows/build.yaml) + Parser for Australian Energy Market Operator (AEMO) Meter Data File Format (MDFF) specification + ## References - https://www.aemo.com.au/ diff --git a/src/AEMO.MDFF.sln b/src/AEMO.MDFF.sln new file mode 100644 index 0000000..1a471c5 --- /dev/null +++ b/src/AEMO.MDFF.sln @@ -0,0 +1,10 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + EndGlobalSection +EndGlobal