mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-04-22 16:51:31 +00:00
Update cmake-multi-platform.yml
This commit is contained in:
parent
745f0715a5
commit
979ae519ae
22
.github/workflows/cmake-multi-platform.yml
vendored
22
.github/workflows/cmake-multi-platform.yml
vendored
@ -68,14 +68,24 @@ jobs:
|
||||
run: cmake --build build --config ${{ matrix.build_type }}
|
||||
shell: powershell
|
||||
|
||||
- name: Test (Linux)
|
||||
- name: Package Artifacts (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
working-directory: build
|
||||
run: ctest --build-config ${{ matrix.build_type }}
|
||||
run: |
|
||||
mkdir -p artifacts
|
||||
cp build/XenonRecompiler/XenonRecompiler artifacts/
|
||||
cp build/XenonAnalyse/XenonAnalyse artifacts/
|
||||
shell: bash
|
||||
|
||||
- name: Test (Windows)
|
||||
- name: Package Artifacts (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
working-directory: build
|
||||
run: ctest --build-config ${{ matrix.build_type }}
|
||||
run: |
|
||||
New-Item -ItemType Directory -Path artifacts
|
||||
Copy-Item -Path build\XenonRecompiler\XenonRecompiler.exe -Destination artifacts\
|
||||
Copy-Item -Path build\XenonAnalyse\XenonAnalyse.exe -Destination artifacts\
|
||||
shell: powershell
|
||||
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: XenonBinaries-${{ matrix.os }}
|
||||
path: artifacts/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user