From 9d340c7cb2da81c37ced38c5f4e4820a6d39b6b7 Mon Sep 17 00:00:00 2001 From: dreamsyntax Date: Tue, 31 Oct 2023 14:33:56 -0700 Subject: [PATCH] GHA: Add license to artifacts, target ubuntu xenial for linux. Turn off win debug builds. --- .github/workflows/build.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93bbc185..ce0b3d23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: runs-on: windows-latest strategy: matrix: - configuration: [Debug, Release] + configuration: [Release] # [Debug, Release]; No need to build Debug, but leaving here if we want it later steps: - name: Checkout code @@ -30,15 +30,20 @@ jobs: run: | msbuild Source\Dolphin-memory-engine.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=x64 /p:Verbosity=normal shell: powershell + + - name: Copy LICENSE + run: | + copy .\LICENSE .\Source\bin\${{ matrix.configuration }} + shell: powershell - name: Publish Artifacts uses: actions/upload-artifact@v2 with: - name: ${{ matrix.configuration }}-build + name: windows-${{ matrix.configuration }}-build path: Source\bin\${{ matrix.configuration }}\ build-linux: - runs-on: ubuntu-latest + runs-on: ubuntu-16.04 steps: - name: Checkout code @@ -80,9 +85,14 @@ jobs: cmake .. make shell: bash + + - name: Copy LICENSE + run: | + cp ../LICENSE ./Source/build/ + shell: bash - name: Publish Artifacts uses: actions/upload-artifact@v2 with: - name: build-artifacts + name: linux-ubuntu-xenial-build path: Source/build