diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e4bbd67 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: Test Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v3 + - name: Setup NuGet.exe + uses: nuget/setup-nuget@v1 + with: + nuget-version: latest + - name: Cache NuGet packages + uses: actions/cache@v3 + with: + path: packages + key: nuget-${{ runner.os }}-test-android + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.1 + - name: Install dependencies + run: nuget restore NeptunLight.sln + - name: Build + run: msbuild NeptunLight/NeptunLight.Android/NeptunLight.Android.csproj /verbosity:normal /t:PackageForAndroid /p:Configuration=Release \ No newline at end of file diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000..4c5ca29 --- /dev/null +++ b/nuget.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file