mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-04-22 06:02:06 +02:00
+ fix workspace variable usage in all workflow scripts
+ chmod 777 linux build script before running it & use sudo
This commit is contained in:
parent
62284e3427
commit
4c89a18dda
3 changed files with 12 additions and 13 deletions
10
.github/workflows/build-gen_emu_config.yml
vendored
10
.github/workflows/build-gen_emu_config.yml
vendored
|
@ -19,22 +19,22 @@ jobs:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout branch
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
|
|
||||||
|
- name: Checkout branch
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}/scripts
|
working-directory: ${{ github.workspace }}/scripts
|
||||||
run: recreate_venv.bat
|
run: recreate_venv.bat
|
||||||
|
|
||||||
- name: Rebuild
|
- name: Rebuild
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}/scripts
|
working-directory: ${{ github.workspace }}/scripts
|
||||||
run: rebuild.bat
|
run: rebuild.bat
|
||||||
|
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
|
|
9
.github/workflows/build-linux.yml
vendored
9
.github/workflows/build-linux.yml
vendored
|
@ -53,8 +53,7 @@ jobs:
|
||||||
- name: Build deps
|
- name: Build deps
|
||||||
if: steps.cache-deps-linux.outputs.cache-hit != 'true'
|
if: steps.cache-deps-linux.outputs.cache-hit != 'true'
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
run: sudo chmod 777 build_linux_deps.sh && sudo ./build_linux_deps.sh
|
||||||
run: sudo ./build_linux_deps.sh
|
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
@ -85,8 +84,8 @@ jobs:
|
||||||
### build + upload release
|
### build + upload release
|
||||||
- name: Build release mode
|
- name: Build release mode
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_linux.sh release
|
run: "sudo chmod 777 build_linux.sh && ./build_linux.sh release"
|
||||||
|
|
||||||
- name: Upload build (release)
|
- name: Upload build (release)
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
@ -99,7 +98,7 @@ jobs:
|
||||||
### build + upload debug
|
### build + upload debug
|
||||||
- name: Build debug mode
|
- name: Build debug mode
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_linux.sh debug
|
run: build_linux.sh debug
|
||||||
|
|
||||||
- name: Upload build (debug)
|
- name: Upload build (debug)
|
||||||
|
|
6
.github/workflows/build-win.yml
vendored
6
.github/workflows/build-win.yml
vendored
|
@ -62,7 +62,7 @@ jobs:
|
||||||
- name: Build deps
|
- name: Build deps
|
||||||
if: steps.cache-deps-win.outputs.cache-hit != 'true'
|
if: steps.cache-deps-win.outputs.cache-hit != 'true'
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_win_deps.bat
|
run: build_win_deps.bat
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ jobs:
|
||||||
### build + upload release
|
### build + upload release
|
||||||
- name: Build release mode
|
- name: Build release mode
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_win.bat release
|
run: build_win.bat release
|
||||||
|
|
||||||
- name: Upload build (release)
|
- name: Upload build (release)
|
||||||
|
@ -108,7 +108,7 @@ jobs:
|
||||||
### build + upload debug
|
### build + upload debug
|
||||||
- name: Build debug mode
|
- name: Build debug mode
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_win.bat debug
|
run: build_win.bat debug
|
||||||
|
|
||||||
- name: Upload build (debug)
|
- name: Upload build (debug)
|
||||||
|
|
Loading…
Add table
Reference in a new issue