Skip to content

Commit

Permalink
Travis make release tarball
Browse files Browse the repository at this point in the history
Signed-off-by: Jiaxun Yang <[email protected]>
  • Loading branch information
FlyGoat committed Jun 5, 2019
1 parent d994c9f commit 433e680
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 24 deletions.
63 changes: 39 additions & 24 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,42 @@
language: cpp

matrix:
include:
- name: "Linux Build"
os: linux
dist: xenial
addons:
apt:
packages:
- cmake
- libpci3
- libpci-dev
before_script:
- mkdir build && cd build
- cmake ..
script:
- make

- name: "Clang Windows Build"
os: windows
env:
- MATRIX_EVAL="CC=clang-cl && CXX=clang-cl"
before_install:
- eval "${MATRIX_EVAL}"
script:
- cmd.exe /C '.\travis-win.bat'
- name: Linux Build
os: linux
dist: xenial
addons:
apt:
packages:
- cmake
- libpci3
- libpci-dev
before_script:
- mkdir build && cd build
- cmake ..
script:
- make
- name: Clang Windows Build
os: windows
env:
- MATRIX_EVAL="CC=clang-cl && CXX=clang-cl"
before_install:
- eval "${MATRIX_EVAL}"
script:
- cmd.exe /C '.\travis-win.bat'
- 7z.exe a -tzip ryzenadj-win64-release.zip ./build/ryzenadj.exe ./prebuilt/WinRing0x64.dll
./prebuilt/WinRing0x64.sys ./prebuilt/demo.bat
- 7z.exe a -tzip libryzenadj-win64-release.zip ./build/libryzenadj.dll ./build/libryzenadj.lib
./build/libryzenadj.exp ./prebuilt/WinRing0x64.dll ./prebuilt/WinRing0x64.sys
./lib/ryzenadj.h
deploy:
provider: releases
api_key:
secure: ejG/jwocBa+IRxt/pexN2yiDxETVhn86mfOif3aISLOdalMVoDS6ZhvBbS4TppOBBf6iUSJc4SuWfqDAulvNHCjzWNYIW1YvAg95t86Rvi6fSbSWIbpW3BQhWBt0wzkbko+/Q2kQ0lBGlAZfsSD1UHpUvnHJUWRaKJvD1wqoGpv67kDh067eBa0/SqRhVdrjuTzjRhzqig8nhv1lkDx+Nm4oRtmCEOhrNLJhovogZphppzUaRcVNE1hZmVgQjt2nD7GcyrTYIqWDOdxc/G/outM993B3j0lO+1o1sPeGGTwH0AZuYoD2fVnRvBlADWVvn0ZBUStLiJ8d3eqTJw9S7XQpJAucOTJfiPBGgp4Z53+F/FhMue+0gHnw1lWuW917+AU+VlDHDESr//SrXl1qQCfCnd4yKAvscebXQwpacF1WW3VdAhelQsd7xHcPD9e48wOKPbUY/MBGXOZJkVux5H3X6NE736xuNF23yldnVhSkr8+BTmjwKB/rwg8g0OdNoqOrI3FWKA6HS3lsqXVAbpmUZchDuoz+fLgxByZA2SPG8I3u7yggiRy7taGIQ+lYRnzLwF233/VfiftdvIVtdOwBJphedwWUUxtkfBi5W8r8BeMVe9U+sgHLHoQim7DEawNJ9Fj95oszoVC2DVChQgzc5lDTnMySmvASFIQzD7k=
file:
- ryzenadj-win64-release.zip
- libryzenadj-win64-release.zip
skip_cleanup: true
draft: true
on:
tags: true
repo: FlyGoat/RyzenAdj
2 changes: 2 additions & 0 deletions prebuilt/demo.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
%~dp0\ryzenadj.exe --stapm-limit=40000 --fast-limit=45000 --slow-limit=45000 --tctl-temp=90
pause

0 comments on commit 433e680

Please sign in to comment.