This repository has been archived by the owner on May 31, 2024. It is now read-only.
Archive notice #206
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows | |
on: | |
pull_request: | |
branches: | |
- "*" | |
push: | |
branches: | |
- "main" | |
jobs: | |
build-64-release: | |
runs-on: "windows-latest" | |
name: Build 64-Bit Release | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update Submodules | |
run: | | |
git submodule update --init --remote --recursive | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
architecture: "x64" | |
- name: Setup Discord SDK | |
shell: cmd | |
run: call setup | |
- name: Configuring Python packages | |
run: | | |
python -c "import sys; print(sys.version)" | |
python -m pip install scons pywin32 | |
python --version | |
scons --version | |
- name: Compilation | |
run: | | |
scons platform=windows target=release bits=64 | |
- name: Remove SDK DLL | |
shell: cmd | |
run: rm demo/bin/windows-64/discord_game_sdk.dll | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: gdsdk_64_release | |
path: demo/bin/windows-64/* | |
build-64-debug: | |
runs-on: "windows-latest" | |
name: Build 64-Bit Debug | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update Submodules | |
run: | | |
git submodule update --init --remote --recursive | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
architecture: "x64" | |
- name: Setup Discord SDK | |
shell: cmd | |
run: call setup | |
- name: Configuring Python packages | |
run: | | |
python -c "import sys; print(sys.version)" | |
python -m pip install scons pywin32 | |
python --version | |
scons --version | |
- name: Compilation | |
run: | | |
scons platform=windows target=debug bits=64 | |
- name: Remove SDK DLL | |
shell: cmd | |
run: rm demo/bin/windows-64/discord_game_sdk.dll | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: gdsdk_64_debug | |
path: demo/bin/windows-64/* | |
build-32-release: | |
runs-on: "windows-latest" | |
name: Build 32-Bit Release | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update Submodules | |
run: | | |
git submodule update --init --remote --recursive | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
architecture: "x64" | |
- name: Setup Discord SDK | |
shell: cmd | |
run: call setup | |
- name: Configuring Python packages | |
run: | | |
python -c "import sys; print(sys.version)" | |
python -m pip install scons pywin32 | |
python --version | |
scons --version | |
- name: Compilation | |
run: | | |
scons platform=windows target=release bits=32 | |
- name: Remove SDK DLL | |
shell: cmd | |
run: rm demo/bin/windows-32/discord_game_sdk.dll | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: gdsdk_32_release | |
path: demo/bin/windows-32/* | |
build-32-debug: | |
runs-on: "windows-latest" | |
name: Build 32-Bit Debug | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update Submodules | |
run: | | |
git submodule update --init --remote --recursive | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.x" | |
architecture: "x64" | |
- name: Setup Discord SDK | |
shell: cmd | |
run: call setup | |
- name: Configuring Python packages | |
run: | | |
python -c "import sys; print(sys.version)" | |
python -m pip install scons pywin32 | |
python --version | |
scons --version | |
- name: Compilation | |
run: | | |
scons platform=windows target=debug bits=32 | |
- name: Remove SDK DLL | |
shell: cmd | |
run: rm demo/bin/windows-32/discord_game_sdk.dll | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: gdsdk_32_debug | |
path: demo/bin/windows-32/* |