generated from nathanfranke/gdextension
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consolidate deps; change windows platform
- Loading branch information
1 parent
5b0816d
commit 49e4aab
Showing
4 changed files
with
24 additions
and
36 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
name: Setup Base Dependencies | ||
description: Setup python and scons | ||
description: Setup base dependencies | ||
inputs: | ||
python-version: | ||
description: The python version to use. | ||
default: "3.x" | ||
python-arch: | ||
description: The python architecture. | ||
default: "x64" | ||
platform: | ||
required: true | ||
description: Target platform. | ||
runs: | ||
using: "composite" | ||
steps: | ||
# Use python 3.x release (works cross platform) | ||
- name: Setup python 3.x | ||
- name: Setup Python 3.x | ||
uses: actions/setup-python@v5 | ||
with: | ||
# Semantic version range syntax or exact version of a Python version | ||
python-version: ${{ inputs.python-version }} | ||
# Optional - x64 or x86 architecture, defaults to x64 | ||
architecture: ${{ inputs.python-arch }} | ||
python-version: 3.x | ||
|
||
- name: Setup scons 4.4 | ||
- name: Setup SCons 4.4 | ||
shell: bash | ||
run: | | ||
python -c "import sys; print(sys.version)" | ||
python -m pip install scons==4.4.0 | ||
scons --version | ||
scons --version | ||
- name: Setup Android Dependencies | ||
if: inputs.platform == 'android' | ||
uses: nttld/setup-ndk@v1 | ||
with: | ||
ndk-version: r23c | ||
link-to-sdk: true | ||
|
||
- name: Setup Windows Dependencies | ||
if: inputs.platform == 'windows' | ||
uses: ./.github/actions/windows-deps |
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
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
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