Skip to content

Commit

Permalink
GHA: Add license to artifacts, target ubuntu xenial for linux. Turn o…
Browse files Browse the repository at this point in the history
…ff win debug builds.
  • Loading branch information
dreamsyntax committed Oct 31, 2023
1 parent afbbbe3 commit 9d340c7
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 9d340c7

Please sign in to comment.