mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-11-22 13:51:01 +02:00
40c60e656f
* Create linux.yml * Create windows.yml * re-enable static builds make a better linux github workflow * better windows action script fix linux output zip * fix path typos * Update readme --------- Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
37 lines
772 B
YAML
37 lines
772 B
YAML
name: C/C++ CI (Windows)
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout Source Tree
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup MSBuild
|
|
uses: microsoft/setup-msbuild@v1
|
|
|
|
- name: Build WindowsXPKg
|
|
run: |
|
|
cd build
|
|
cmake ../
|
|
msbuild ALL_BUILD.vcxproj /P:Configuration=Release
|
|
|
|
- name: Copy files and clean up output directory
|
|
run: |
|
|
del "build/Release/*.lib"
|
|
copy "keys.json" "build/Release/keys.json"
|
|
|
|
- name: Upload build artifact
|
|
uses: actions/upload-artifact@v3.1.2
|
|
with:
|
|
name: WindowsXPKg-Win64
|
|
path: build/Release
|