mirror of
https://github.com/citron-neo/CI.git
synced 2026-07-05 15:21:59 -07:00
--no-verify
This commit is contained in:
@@ -59,7 +59,7 @@ jobs:
|
||||
- name: Check if release exists
|
||||
id: release_check
|
||||
run: |
|
||||
if gh release view stable-android --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
if gh release view nightly-android --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
echo "exists=true" >> $GITHUB_OUTPUT
|
||||
echo "Release exists"
|
||||
else
|
||||
@@ -186,7 +186,7 @@ jobs:
|
||||
- name: Upload APK artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: citron-android-stable
|
||||
name: citron-android-nightly
|
||||
path: citron_source/src/android/app/build/outputs/apk/mainline/release/*.apk
|
||||
|
||||
build-android-8elite:
|
||||
@@ -358,7 +358,7 @@ jobs:
|
||||
path: citron_source/src/android/artifacts/*.apk
|
||||
|
||||
release-android:
|
||||
name: "Release Android Stable"
|
||||
name: "Release Android Nightly"
|
||||
needs: [check-version, build-android, build-android-8elite]
|
||||
if: needs.check-version.outputs.should_build == 'true'
|
||||
permissions:
|
||||
@@ -383,16 +383,15 @@ jobs:
|
||||
echo "GIT_HASH=${{ needs.build-android.outputs.git_hash }}" >> $GITHUB_ENV
|
||||
echo "BRANCH_NAME=${{ needs.check-version.outputs.branch_name }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Delete previous stable release and tag
|
||||
run: gh release delete "stable-android" --repo "${{ github.repository }}" --cleanup-tag -y || true
|
||||
run: gh release delete "nightly-android" --repo "${{ github.repository }}" --cleanup-tag -y || true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create new stable release
|
||||
- name: Create new nightly release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: "Continuous Build: (Android Stable: ${{ env.GIT_HASH }})"
|
||||
tag_name: "stable-android"
|
||||
name: "Continuous Build: (Android Nightly: ${{ env.GIT_HASH }})"
|
||||
tag_name: "nightly-android"
|
||||
prerelease: false
|
||||
files: "*.apk"
|
||||
body: |
|
||||
@@ -422,7 +421,7 @@ jobs:
|
||||
- name: Post to Discord
|
||||
if: success()
|
||||
run: |
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/stable-android"
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/nightly-android"
|
||||
if [ "${{ env.BRANCH_NAME }}" = "feature/android-game-file-extraction" ]; then
|
||||
BRANCH_EMOJI="🍋"
|
||||
BRANCH_DESC="Game File Extraction"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Build Citron (Linux)
|
||||
|
||||
concurrency:
|
||||
group: build-stable-${{ github.ref }}
|
||||
group: build-nightly-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
- name: Check if release exists
|
||||
id: release_check
|
||||
run: |
|
||||
if gh release view stable-linux --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
if gh release view nightly-linux --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
echo "exists=true" >> $GITHUB_OUTPUT
|
||||
echo "Release exists"
|
||||
else
|
||||
@@ -198,7 +198,7 @@ jobs:
|
||||
path: .
|
||||
|
||||
- name: Del Previous Release
|
||||
run: gh release delete "stable-linux" --repo "${GITHUB_REPOSITORY}" --cleanup-tag -y && sleep 5
|
||||
run: gh release delete "nightly-linux" --repo "${GITHUB_REPOSITORY}" --cleanup-tag -y && sleep 5
|
||||
env:
|
||||
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
continue-on-error: true
|
||||
@@ -208,8 +208,8 @@ jobs:
|
||||
|
||||
- uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: "Continuous Build (Linux Stable: ${{ steps.version.outputs.sha }})"
|
||||
tag_name: "stable-linux"
|
||||
name: "Continuous Build (Linux Nightly: ${{ steps.version.outputs.sha }})"
|
||||
tag_name: "nightly-linux"
|
||||
prerelease: false
|
||||
draft: false
|
||||
generate_release_notes: false
|
||||
@@ -243,7 +243,7 @@ jobs:
|
||||
- name: Post to Discord
|
||||
if: success()
|
||||
run: |
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/stable-linux"
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/nightly-linux"
|
||||
DATE=$(date +'%Y-%m-%d')
|
||||
WEBHOOK_URL="${{ secrets.DISCORD_WEBHOOK }}"
|
||||
if [ -z "$WEBHOOK_URL" ]; then
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Build Citron (macOS)
|
||||
|
||||
concurrency:
|
||||
group: build-macos-stable-${{ github.ref }}
|
||||
group: build-macos-nightly-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Check if release exists
|
||||
id: release_check
|
||||
run: |
|
||||
if gh release view stable-macos --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
if gh release view nightly-macos --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
echo "exists=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "exists=false" >> $GITHUB_OUTPUT
|
||||
@@ -118,7 +118,7 @@ jobs:
|
||||
echo "Warning: FindWrapOpenGL.cmake not found under externals/qt, skipping AGL patch"
|
||||
fi
|
||||
|
||||
- name: Get Stable Version
|
||||
- name: Get Nightly Version
|
||||
id: version
|
||||
working-directory: ./citron
|
||||
run: |
|
||||
@@ -306,14 +306,14 @@ jobs:
|
||||
|
||||
# Step 8: Create the final DMG
|
||||
echo "Creating final DMG..."
|
||||
DMG_FILENAME="Citron-macOS-stable-${{ steps.version.outputs.VERSION }}.dmg"
|
||||
hdiutil create -fs HFS+ -srcfolder "$APP_BUNDLE_PATH" -volname "Citron Stable" "./$DMG_FILENAME"
|
||||
DMG_FILENAME="Citron-macOS-nightly-${{ steps.version.outputs.VERSION }}.dmg"
|
||||
hdiutil create -fs HFS+ -srcfolder "$APP_BUNDLE_PATH" -volname "Citron Nightly" "./$DMG_FILENAME"
|
||||
mv "$DMG_FILENAME" ./dist/
|
||||
|
||||
- name: Upload macOS Build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Citron-macOS-Stable
|
||||
name: Citron-macOS-Nightly
|
||||
path: "dist/*.dmg"
|
||||
|
||||
release:
|
||||
@@ -329,16 +329,16 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Citron-macOS-Stable
|
||||
name: Citron-macOS-Nightly
|
||||
path: .
|
||||
- name: Get Version from Filename
|
||||
run: |
|
||||
FILENAME=$(ls *.dmg)
|
||||
VERSION=${FILENAME#Citron-macOS-stable-}
|
||||
VERSION=${FILENAME#Citron-macOS-nightly-}
|
||||
VERSION=${VERSION%.dmg}
|
||||
echo "APP_VERSION=${VERSION}" >> $GITHUB_ENV
|
||||
- name: Delete Previous Release
|
||||
run: gh release delete "stable-macos" --repo "${{ github.repository }}" --cleanup-tag -y || true
|
||||
run: gh release delete "nightly-macos" --repo "${{ github.repository }}" --cleanup-tag -y || true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Set Build Date
|
||||
@@ -346,8 +346,8 @@ jobs:
|
||||
- name: Release Artifacts
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: "Continuous Build (macOS Stable: ${{ env.APP_VERSION }})"
|
||||
tag_name: "stable-macos"
|
||||
name: "Continuous Build (macOS Nightly: ${{ env.APP_VERSION }})"
|
||||
tag_name: "nightly-macos"
|
||||
prerelease: false
|
||||
files: "*.dmg"
|
||||
body: |
|
||||
@@ -372,7 +372,7 @@ jobs:
|
||||
- name: Post to Discord
|
||||
if: success()
|
||||
run: |
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/stable-macos"
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/nightly-macos"
|
||||
DATE=$(date +'%Y-%m-%d')
|
||||
WEBHOOK_URL="${{ secrets.DISCORD_WEBHOOK }}"
|
||||
if [ -z "$WEBHOOK_URL" ]; then
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Build Citron (Windows)
|
||||
|
||||
concurrency:
|
||||
group: build-windows-stable-${{ github.ref }}
|
||||
group: build-windows-nightly-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Check if release exists
|
||||
id: release_check
|
||||
run: |
|
||||
if gh release view stable-windows --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
if gh release view nightly-windows --repo "${{ github.repository }}" > /dev/null 2>&1; then
|
||||
echo "exists=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "exists=false" >> $GITHUB_OUTPUT
|
||||
@@ -116,7 +116,7 @@ jobs:
|
||||
restore-keys: |
|
||||
vcpkg-qt-cache-${{ matrix.arch }}-${{ runner.os }}-${{ hashFiles('citron/vcpkg.json') }}-
|
||||
|
||||
- name: Get Stable Version
|
||||
- name: Get Nightly Version
|
||||
id: version
|
||||
working-directory: ./citron
|
||||
shell: bash
|
||||
@@ -175,12 +175,12 @@ jobs:
|
||||
if (!(Test-Path $destDir)) { New-Item -ItemType Directory -Path $destDir -Force | Out-Null }
|
||||
Copy-Item $_.FullName $destPath -Force
|
||||
}
|
||||
Compress-Archive -Path ".\temp_package\*" -DestinationPath ".\dist\Citron-windows-stable-${{ steps.version.outputs.VERSION }}-${{ matrix.arch }}.zip"
|
||||
Compress-Archive -Path ".\temp_package\*" -DestinationPath ".\dist\Citron-windows-nightly-${{ steps.version.outputs.VERSION }}-${{ matrix.arch }}.zip"
|
||||
Remove-Item ".\temp_package" -Recurse -Force
|
||||
- name: Upload Windows Build
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Citron-Windows-Stable-${{ matrix.arch }}
|
||||
name: Citron-Windows-Nightly-${{ matrix.arch }}
|
||||
path: "dist/*.zip"
|
||||
|
||||
release:
|
||||
@@ -195,17 +195,17 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Citron-Windows-Stable-x64
|
||||
name: Citron-Windows-Nightly-x64
|
||||
path: .
|
||||
- name: Get Version from Filename
|
||||
shell: bash
|
||||
run: |
|
||||
FILENAME=$(ls Citron-windows-stable-*-x64.zip)
|
||||
VERSION=${FILENAME#Citron-windows-stable-}
|
||||
FILENAME=$(ls Citron-windows-nightly-*-x64.zip)
|
||||
VERSION=${FILENAME#Citron-windows-nightly-}
|
||||
VERSION=${VERSION%-x64.zip}
|
||||
echo "APP_VERSION=${VERSION}" >> $GITHUB_ENV
|
||||
- name: Delete Previous Release
|
||||
run: gh release delete "stable-windows" --repo "${{ github.repository }}" --cleanup-tag -y || true
|
||||
run: gh release delete "nightly-windows" --repo "${{ github.repository }}" --cleanup-tag -y || true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Set Build Date
|
||||
@@ -213,8 +213,8 @@ jobs:
|
||||
- name: Release Artifacts
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
name: "Continuous Build (Windows Stable: ${{ env.APP_VERSION }})"
|
||||
tag_name: "stable-windows"
|
||||
name: "Continuous Build (Windows Nightly: ${{ env.APP_VERSION }})"
|
||||
tag_name: "nightly-windows"
|
||||
prerelease: false
|
||||
files: "*.zip"
|
||||
body: |
|
||||
@@ -241,7 +241,7 @@ jobs:
|
||||
- name: Post to Discord
|
||||
if: success()
|
||||
run: |
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/stable-windows"
|
||||
DOWNLOAD_URL="https://github.com/${{ github.repository }}/releases/tag/nightly-windows"
|
||||
DATE=$(date +'%Y-%m-%d')
|
||||
WEBHOOK_URL="${{ secrets.DISCORD_WEBHOOK }}"
|
||||
if [ -z "$WEBHOOK_URL" ]; then
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
---
|
||||
|
||||
This repository makes Stable builds for **x86_64** (Standard), **x86_64_v3** (CPU's that are from 2013+) & **aarch64** on Linux, and also Windows, Android & macOS builds! These builds are all produced @ 12 AM UTC every single day.
|
||||
This repository makes Nightly builds for **x86_64** (Standard), **x86_64_v3** (CPU's that are from 2013+) & **aarch64** on Linux, and also Windows, Android & macOS builds! These builds are all produced @ 12 AM UTC every single day.
|
||||
|
||||
Would you like to submit a compatibility report for the emulator? You can do so here:
|
||||
|
||||
@@ -30,13 +30,13 @@ Direct links for other information you may need can also be found below:
|
||||
|
||||
* [Latest Commits Can Be Found Here](https://github.com/citron-neo/emulator/commits/main)
|
||||
|
||||
* [Latest Android Stable Release](https://github.com/citron-neo/CI/releases/tag/stable-android)
|
||||
* [Latest Android Nightly Release](https://github.com/citron-neo/CI/releases/tag/nightly-android)
|
||||
|
||||
* [Latest Linux Stable Release](https://github.com/citron-neo/CI/releases/tag/stable-linux)
|
||||
* [Latest Linux Nightly Release](https://github.com/citron-neo/CI/releases/tag/nightly-linux)
|
||||
|
||||
* [Latest Windows Stable Release](https://github.com/citron-neo/CI/releases/tag/stable-windows)
|
||||
* [Latest Windows Nightly Release](https://github.com/citron-neo/CI/releases/tag/nightly-windows)
|
||||
|
||||
* [Latest macOS Stable Release](https://github.com/citron-neo/CI/releases/tag/stable-macos)
|
||||
* [Latest macOS Nightly Release](https://github.com/citron-neo/CI/releases/tag/nightly-macos)
|
||||
|
||||
---
|
||||
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@ if [ -z "$APP_VERSION" ]; then
|
||||
fi
|
||||
|
||||
# Construct unique names for the AppImage and tarball based on the build matrix.
|
||||
OUTNAME_BASE="citron_stable-${APP_VERSION}-linux-${ARCH}${ARCH_SUFFIX}"
|
||||
OUTNAME_BASE="citron_nightly-${APP_VERSION}-linux-${ARCH}${ARCH_SUFFIX}"
|
||||
export OUTNAME_APPIMAGE="${OUTNAME_BASE}.AppImage"
|
||||
export OUTNAME_TAR="${OUTNAME_BASE}.tar.zst"
|
||||
|
||||
@@ -34,7 +34,7 @@ mkdir -p ./AppDir/usr/share/qt6
|
||||
cp -r /usr/share/qt6/translations ./AppDir/usr/share/qt6/
|
||||
|
||||
if [ "$DEVEL" = 'true' ]; then
|
||||
sed -i 's|Name=citron|Name=citron stable|' ./AppDir/*.desktop
|
||||
sed -i 's|Name=citron|Name=citron nightly|' ./AppDir/*.desktop
|
||||
fi
|
||||
|
||||
echo 'SHARUN_ALLOW_SYS_VK_ICD=1' > ./AppDir/.env
|
||||
|
||||
Reference in New Issue
Block a user