Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kylon authored and FlyGoat committed Sep 5, 2024
1 parent 6b22cda commit 96b2cd6
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ jobs:
#don't use run-cmake for windows because only one build should add warnings to pull request
- name: Build Debug
run: |
mkdir debug
cmake -B debug -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Debug
cd debug
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Debug ..
nmake
- name: Upload ryzenadj debug
Expand All @@ -28,20 +27,19 @@ jobs:
name: ryzenadj-win64-debug
path: |
debug/ryzenadj.exe
debug/libryzenadj.dll
debug/lib/libryzenadj.dll
- name: Build Release
run: |
mkdir build
cmake -B build -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release
cd build
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..
nmake
- name: Prepair Release Folder
run: |
mkdir release
copy build/ryzenadj.exe release/
copy build/libryzenadj.dll release/
copy build/lib/libryzenadj.dll release/
copy win32/* release/
copy examples/* release/
Expand Down Expand Up @@ -86,8 +84,8 @@ jobs:
with:
name: libryzenadj-win64
path: |
./build/libryzenadj.dll
./build/libryzenadj.lib
./build/lib/libryzenadj.dll
./build/lib/libryzenadj.lib
./lib/ryzenadj.h
./win32/inpoutx64.dll
./win32/WinRing0x64.dll
Expand Down

0 comments on commit 96b2cd6

Please sign in to comment.