mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-04-22 06:02:06 +02:00
remove hardcoded repo path + remove Git LFS flag since it's no longer needed
This commit is contained in:
parent
098a490d3a
commit
62afce33ca
4 changed files with 4 additions and 28 deletions
|
@ -11,14 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "dev" ]
|
branches: [ "dev" ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# nothing
|
# allows manual trigger
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ARTIFACT_NAME: "generate_emu_config-linux-${{ github.sha }}"
|
ARTIFACT_NAME: "generate_emu_config-linux-${{ github.sha }}"
|
||||||
ARTIFACT_ROOT_PATH: "scripts/bin/linux"
|
|
||||||
PACKAGE_ROOT_PATH: "scripts/bin/package"
|
PACKAGE_ROOT_PATH: "scripts/bin/package"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -11,18 +11,15 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "dev" ]
|
branches: [ "dev" ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# nothing
|
# allows manual trigger
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ARTIFACT_NAME: "generate_emu_config-win-${{ github.sha }}"
|
ARTIFACT_NAME: "generate_emu_config-win-${{ github.sha }}"
|
||||||
ARTIFACT_ROOT_PATH: "scripts/bin/win"
|
|
||||||
PACKAGE_ROOT_PATH: "scripts/bin/package"
|
PACKAGE_ROOT_PATH: "scripts/bin/package"
|
||||||
|
|
||||||
# Expected format {owner}/{repo}.
|
|
||||||
DEPS_REPO: 'otavepto/gbe_fork'
|
|
||||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
THIRD_PARTY_BASE_DIR: 'third-party'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -41,7 +38,6 @@ jobs:
|
||||||
- name: Clone third-party deps (deps/win)
|
- name: Clone third-party deps (deps/win)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/deps/win'
|
ref: 'third-party/deps/win'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
||||||
|
|
||||||
|
|
10
.github/workflows/build-linux.yml
vendored
10
.github/workflows/build-linux.yml
vendored
|
@ -11,14 +11,12 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "dev" ]
|
branches: [ "dev" ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# nothing
|
# allows manual trigger
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Expected format {owner}/{repo}.
|
|
||||||
DEPS_REPO: 'otavepto/gbe_fork'
|
|
||||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
THIRD_PARTY_BASE_DIR: 'third-party'
|
||||||
|
|
||||||
DEPS_CACHE_KEY: emu-deps-linux
|
DEPS_CACHE_KEY: emu-deps-linux
|
||||||
|
@ -48,19 +46,15 @@ jobs:
|
||||||
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/deps/linux'
|
ref: 'third-party/deps/linux'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/linux"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/linux"
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- name: Clone third-party deps (deps/common)
|
- name: Clone third-party deps (deps/common)
|
||||||
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/deps/common'
|
ref: 'third-party/deps/common'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/common"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/common"
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- name: Build deps
|
- name: Build deps
|
||||||
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
||||||
|
@ -92,10 +86,8 @@ jobs:
|
||||||
- name: Clone third-party build helpers (build/linux)
|
- name: Clone third-party build helpers (build/linux)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/build/linux'
|
ref: 'third-party/build/linux'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/build/linux"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/build/linux"
|
||||||
lfs: true
|
|
||||||
|
|
||||||
### build + upload release
|
### build + upload release
|
||||||
- name: Build release mode
|
- name: Build release mode
|
||||||
|
|
13
.github/workflows/build-win.yml
vendored
13
.github/workflows/build-win.yml
vendored
|
@ -11,14 +11,12 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "dev" ]
|
branches: [ "dev" ]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# nothing
|
# allows manual trigger
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Expected format {owner}/{repo}.
|
|
||||||
DEPS_REPO: 'otavepto/gbe_fork'
|
|
||||||
THIRD_PARTY_BASE_DIR: 'third-party'
|
THIRD_PARTY_BASE_DIR: 'third-party'
|
||||||
DEPS_CACHE_KEY: emu-deps-win
|
DEPS_CACHE_KEY: emu-deps-win
|
||||||
DEPS_CACHE_DIR: build-win-deps
|
DEPS_CACHE_DIR: build-win-deps
|
||||||
|
@ -47,28 +45,22 @@ jobs:
|
||||||
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/deps/win'
|
ref: 'third-party/deps/win'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- name: Clone third-party deps (deps/common)
|
- name: Clone third-party deps (deps/common)
|
||||||
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/deps/common'
|
ref: 'third-party/deps/common'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/common"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/common"
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- name: Clone third-party deps (common/win)
|
- name: Clone third-party deps (common/win)
|
||||||
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/common/win'
|
ref: 'third-party/common/win'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/common/win"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/common/win"
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- name: Build deps
|
- name: Build deps
|
||||||
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
if: steps.emu-deps-cache-step.outputs.cache-hit != 'true'
|
||||||
|
@ -97,15 +89,12 @@ jobs:
|
||||||
- name: Clone third-party build helpers (common/win)
|
- name: Clone third-party build helpers (common/win)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/common/win'
|
ref: 'third-party/common/win'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/common/win"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/common/win"
|
||||||
lfs: true
|
|
||||||
|
|
||||||
- name: Clone third-party deps (deps/win)
|
- name: Clone third-party deps (deps/win)
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "${{env.DEPS_REPO}}"
|
|
||||||
ref: 'third-party/deps/win'
|
ref: 'third-party/deps/win'
|
||||||
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
path: "${{env.THIRD_PARTY_BASE_DIR}}/deps/win"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue