Skip to content

Commit 08a78f0

Browse files
committed
fuck off MSVC with your bs + remove unneeded junk in install artifact
1 parent ef8f6aa commit 08a78f0

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
2323
matrix:
2424
os: [ubuntu-latest, windows-latest]
25-
build_type: [RelWithDebInfo]
25+
build_type: [Release]
2626
c_compiler: [gcc, clang, cl]
2727
include:
2828
- os: windows-latest
@@ -112,7 +112,16 @@ jobs:
112112
UnCSO2-*.AppImage
113113
114114
- name: Install
115-
run: DESTDIR="build/install/" cmake --install build
115+
run: |
116+
DESTDIR="build/install/" cmake --install build
117+
install -Dm644 "COPYING" -t "build/install/share/licenses/uncso2"
118+
install -Dm644 "libuncso2/COPYING" -t "build/install/share/licenses/libuncso2"
119+
rm -rf "build/install/bin/cryptest"
120+
rm -rf "build/install/include/cryptopp"
121+
rm -rf "build/install/lib/libcryptopp.a"
122+
rm -rf "build/install/share/cmake"
123+
rm -rf "build/install/share/cryptopp"
124+
rm -rf "build/install/share/pkgconfig/cryptopp.pc"
116125
117126
- name: Upload install artifacts
118127
uses: actions/upload-artifact@v4

PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pkgname=uncso2
22
pkgver=2.1.1
33
pkgrel=1
4-
pkgdesc='Extract Counter-Strike: Online 2 and Titanfall Online game files'
4+
pkgdesc="Extract Counter-Strike: Online 2 and Titanfall Online game files"
55
arch=(any)
66
url="https://github.com/harmonytf/UnCSO2"
77
license=(GPL-3.0-only)

0 commit comments

Comments
 (0)