gse/.github/workflows/build-gen_emu_config.yml
ota 4c89a18dda + fix workspace variable usage in all workflow scripts
+ chmod 777 linux build script before running it & use sudo
2023-12-18 02:50:05 +02:00

47 lines
1010 B
YAML

name: Generate emu config (Windows)
on:
push:
branches: [ "ci_runner" ]
pull_request:
branches: [ "ci_runner" ]
permissions:
contents: read
env:
# Expected format {owner}/{repo}.
DEPS_REPO: 'otavepto/gbe_fork-deps'
THIRD_PARTY_BASE_DIR: 'third-party'
jobs:
build:
runs-on: windows-2022
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Checkout branch
uses: actions/checkout@v4
- name: Install dependencies
shell: cmd
working-directory: ${{ github.workspace }}/scripts
run: recreate_venv.bat
- name: Rebuild
shell: cmd
working-directory: ${{ github.workspace }}/scripts
run: rebuild.bat
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: "generate_emu_config-win-${{ github.sha }}"
path: 'scripts/bin/generate_emu_config/'
if-no-files-found: 'error'
compression-level: 9