[CI > Debug] Enable for testing

This commit is contained in:
Ducko 2022-04-20 11:58:09 +01:00
parent d1d02c5a33
commit 798a51c208

View file

@ -158,76 +158,76 @@ jobs:
VERSION: 'nightly' VERSION: 'nightly'
FILES: app.asar FILES: app.asar
# debug-linux: debug-linux:
# name: Debug Linux name: Debug Linux
# needs: build needs: build
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - name: Retrieve artifact - name: Retrieve artifact
# uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
# with: with:
# name: built-asar name: built-asar
# path: artifact path: artifact
# - name: Extract artifact - name: Extract artifact
# run: | run: |
# cp artifact/app.asar . cp artifact/app.asar .
# - name: Download Client with OpenAsar - name: Download Client with OpenAsar
# run: | run: |
# wget "https://discord.com/api/download/canary?platform=linux&format=tar.gz" -O discord.tar.gz wget "https://discord.com/api/download/canary?platform=linux&format=tar.gz" -O discord.tar.gz
# tar xf discord.tar.gz tar xf discord.tar.gz
# cp app.asar DiscordCanary/resources/app.asar cp app.asar DiscordCanary/resources/app.asar
# - name: Run Client - name: Run Client
# run: | run: |
# xvfb-run -e /dev/stdout ./DiscordCanary/DiscordCanary --enable-logging 2>&1 xvfb-run -e /dev/stdout ./DiscordCanary/DiscordCanary --enable-logging 2>&1
# timeout-minutes: 5 timeout-minutes: 5
# debug-win: debug-win:
# name: Debug Windows name: Debug Windows
# needs: build needs: build
# runs-on: windows-latest runs-on: windows-latest
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - name: Setup Node.js v16.x - name: Setup Node.js v16.x
# uses: actions/setup-node@v2 uses: actions/setup-node@v2
# with: with:
# node-version: 16.x node-version: 16.x
# - name: Retrieve artifact - name: Retrieve artifact
# uses: actions/download-artifact@v2 uses: actions/download-artifact@v2
# with: with:
# name: built-asar name: built-asar
# path: artifact path: artifact
# - name: Extract artifact - name: Extract artifact
# run: | run: |
# cp artifact/app.asar . cp artifact/app.asar .
# - name: Setup Client - name: Setup Client
# shell: bash shell: bash
# run: | run: |
# node scripts/downloadWin.js node scripts/downloadWin.js
# tar xf client.tar tar xf client.tar
# # Install OpenAsar build and setup environment # Install OpenAsar build and setup environment
# cp -f app.asar files/resources/app.asar cp -f app.asar files/resources/app.asar
# mkdir discord mkdir discord
# cp -rf files/ discord/app-1.0.0 cp -rf files/ discord/app-1.0.0
# cd discord/app-1.0.0 cd discord/app-1.0.0
# mkdir modules mkdir modules
# - name: Run Client - name: Run Client
# run: | run: |
# cd discord/app-1.0.0 cd discord/app-1.0.0
# ./DiscordCanary.exe --enable-logging ./DiscordCanary.exe --enable-logging
# timeout-minutes: 5 timeout-minutes: 5
# shell: bash shell: bash