From baa893ec1d3345e627ced7a00ce6d3c8e8f858a5 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Mon, 13 Nov 2023 19:14:50 -0500 Subject: [PATCH] Test OpenDream with TGS deployment --- .github/workflows/ci-pipeline.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 06285af65a..55bd1bfb32 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -39,6 +39,7 @@ on: env: TGS_DOTNET_VERSION: 8 + OD_DOTNET_VERSION: 7 TGS_DOTNET_QUALITY: preview TGS_TEST_GITHUB_TOKEN: ${{ secrets.LIVE_TESTS_TOKEN }} TGS_RELEASE_NOTES_TOKEN: ${{ secrets.DEV_PUSH_TOKEN }} @@ -198,15 +199,15 @@ jobs: git checkout ${{ matrix.committish }} git submodule update --init --recursive - - name: Build OpenDream + - name: Create TGS Deployment run: | cd $HOME/OpenDream - dotnet build -c Release + dotnet run -c Release --project OpenDreamPackageTool -- --tgs -o tgs_deploy - name: Build DMAPI run: | cd tests/DMAPI/BasicOperation - $HOME/OpenDream/bin/DMCompiler/DMCompiler --verbose --notices-enabled basic_operation_test.dme + $HOME/OpenDream/tgs_deploy/bin/compiler/DMCompiler --verbose --notices-enabled basic_operation_test.dme pages-build: name: Build gh-pages @@ -427,7 +428,8 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v3 with: - dotnet-version: '${{ env.TGS_DOTNET_VERSION }}.0.x' + dotnet-version: + '${{ env.TGS_DOTNET_VERSION }}.0.x' dotnet-quality: ${{ env.TGS_DOTNET_QUALITY }} - name: Set TGS_TEST_DUMP_API_SPEC