mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Compare commits
1
Commits
majcosta-patch-1
...
v5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d038ead564 |
@@ -54,16 +54,6 @@ jobs:
|
||||
sed -i "s|@Build@|${GAME_BUILD:0:255}|" Ja2/GameVersion.cpp
|
||||
cat Ja2/GameVersion.cpp
|
||||
|
||||
- name: Turn on link-time optimization?
|
||||
if: fromJSON(inputs.assemble)
|
||||
shell: bash
|
||||
run: |
|
||||
set -eux
|
||||
|
||||
echo "
|
||||
LTO=ON
|
||||
" >> $GITHUB_ENV
|
||||
|
||||
- name: Prepare build properties
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -87,7 +77,7 @@ jobs:
|
||||
arch: x86
|
||||
- name: Prepare build
|
||||
run: |
|
||||
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLanguages="$Env:JA2Language" -DApplications="$Env:JA2Application" -DLTO_OPTION="$Env:LTO"
|
||||
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLanguages="$Env:JA2Language" -DApplications="$Env:JA2Application"
|
||||
- name: Build
|
||||
run: |
|
||||
cmake --build build/ -- -v
|
||||
|
||||
Reference in New Issue
Block a user