[WIP] Print command before running it. #2309
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 Test | |
on: | |
push: | |
jobs: | |
Windows: | |
strategy: | |
fail-fast: false | |
runs-on: windows-latest | |
env: | |
OS_NAME: windows | |
PLATFORM_TARGET: native_dyn | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup python 3.8 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
- name: Install packages | |
run: | | |
choco.exe install pkgconfiglite ninja | |
- name: Install python modules | |
shell: bash | |
run: | | |
pip3 install meson pytest requests distro | |
pip3 install --no-deps $GITHUB_WORKSPACE | |
- name: Ensure base deps | |
shell: bash | |
run: | | |
cd $HOME | |
$GITHUB_WORKSPACE/.github/scripts/ensure_base_deps.py | |
- name: Compile all deps | |
shell: bash | |
run: | | |
cd $HOME | |
$GITHUB_WORKSPACE/.github/scripts/compile_all_deps.py | |
- name: Upload failure logs | |
shell: bash | |
if: failure() | |
run: $GITHUB_WORKSPACE/.github/scripts/upload_failure_logs.sh |