mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 18:31:03 +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 }}
|
run: cmake --build build --config ${{ matrix.build_type }}
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
|
||||||
- name: Test (Linux)
|
- name: Package Artifacts (Linux)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
working-directory: build
|
run: |
|
||||||
run: ctest --build-config ${{ matrix.build_type }}
|
mkdir -p artifacts
|
||||||
|
cp build/XenonRecompiler/XenonRecompiler artifacts/
|
||||||
|
cp build/XenonAnalyse/XenonAnalyse artifacts/
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Test (Windows)
|
- name: Package Artifacts (Windows)
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
working-directory: build
|
run: |
|
||||||
run: ctest --build-config ${{ matrix.build_type }}
|
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
|
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