Skip to content

Commit d757c23

Browse files
committed
Test fix for tags
1 parent 33328db commit d757c23

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
submodules: recursive
21+
fetch-depth: 0
2122

2223
- name: Install Packages
2324
env:
@@ -91,6 +92,7 @@ jobs:
9192
-DCMAKE_C_COMPILER_LAUNCHER=ccache
9293
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
9394
-DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON
95+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
9496
-DUSE_SYSTEM_LIBS=OFF
9597
-DUSE_SYSTEM_BZIP2=ON
9698
-DUSE_SYSTEM_CURL=ON
@@ -112,13 +114,8 @@ jobs:
112114
"${COMMON_ARGS[@]}" \
113115
-B build-arm .
114116
115-
- name: Dolphin-Build Number
116-
run: |
117-
export LASTCOMMIT=$(git log --pretty=format:%H -1)
118-
export DOLPHINVER="v3.1.2-mainline-beta.5"
119-
echo "DOLPHIN Build $DOLPHINVER"
120-
echo "DOLPHINVER=$DOLPHINVER" >> $GITHUB_ENV
121-
gsed -i "s|\${DOLPHIN_WC_DESCRIBE}|$DOLPHINVER|g" Source/Core/Common/scmrev.h.in
117+
- name: Purge .git for space reasons
118+
run: rm -rf /home/runner/work/Project-Plus-Dolphin-src/.git
122119
- name: Build Dolphin (x86_64)
123120
working-directory: build
124121
run: |
@@ -172,7 +169,10 @@ jobs:
172169
name: Windows Build
173170
runs-on: windows-latest
174171
steps:
175-
- uses: actions/checkout@v2
172+
- name: Checkout Repository
173+
uses: actions/checkout@v2
174+
with:
175+
fetch-depth: 0
176176
- name: Setup Submodules
177177
run: git config --global --add safe.directory . && git submodule update --init --recursive
178178
- name: Setup MSBuild
@@ -219,6 +219,7 @@ jobs:
219219
with:
220220
repository: Project-Plus-Development-Team/Project-Plus-Dolphin
221221
ref: dolphin-emu-release-prep-2509
222+
fetch-depth: 0
222223

223224
- name: Checkout Submodules
224225
if: steps.cache-submodules.outputs.cache-hit != 'true'
@@ -259,13 +260,8 @@ jobs:
259260
libbz2-dev liblzo2-dev libxi-dev libavcodec-dev libudev-dev libusb-1.0-0-dev libevdev-dev libc6-dev libhidapi-dev libavformat-dev libavdevice-dev \
260261
libfmt-dev libwayland-dev libxrandr-dev libglu1-mesa-dev libcurl4-openssl-dev x11-utils zenity wget curl git gettext ccache make cmake ninja-build \
261262
libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-icccm4 libxcb-image0-dev libxcb-cursor-dev
262-
- name: Dolphin-Build Number
263-
run: |
264-
export LASTCOMMIT=$(git log --pretty=format:%H -1)
265-
export DOLPHINVER="v3.1.2-mainline-beta.5"
266-
echo "DOLPHIN Build $DOLPHINVER"
267-
echo "DOLPHINVER=$DOLPHINVER" >> $GITHUB_ENV
268-
sed -i "s|\${DOLPHIN_WC_DESCRIBE}|$DOLPHINVER|g" Source/Core/Common/scmrev.h.in
263+
- name: Purge .git for space reasons
264+
run: rm -rf /home/runner/work/Project-Plus-Dolphin-src/.git
269265
- name: Update Patchelf
270266
run: |
271267
PATCHELFVER=0.14.5

0 commit comments

Comments
 (0)