mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-04-22 06:02:06 +02:00
+ friendly name for linux gen emu config workflow
+ don't fail job on failure of release/debug + update workflows to add on-success condition in upload
This commit is contained in:
parent
e19d2a423f
commit
6afb4560d0
3 changed files with 14 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: Generate emu config (Windows)
|
name: Generate emu config (Linux)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
10
.github/workflows/build-linux.yml
vendored
10
.github/workflows/build-linux.yml
vendored
|
@ -3,8 +3,8 @@ name: Linux-build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "ci_runner" ]
|
branches: [ "ci_runner" ]
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches: [ "ci_runner" ]
|
# branches: [ "ci_runner" ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
@ -87,11 +87,13 @@ jobs:
|
||||||
|
|
||||||
### build + upload release
|
### build + upload release
|
||||||
- name: Build release mode
|
- name: Build release mode
|
||||||
|
continue-on-error: true
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: "sudo chmod 777 build_linux.sh && ./build_linux.sh release"
|
run: "sudo chmod 777 build_linux.sh && ./build_linux.sh release"
|
||||||
|
|
||||||
- name: Upload build (release)
|
- name: Upload build (release)
|
||||||
|
if: success()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-linux-release-${{ github.sha }}"
|
name: "build-linux-release-${{ github.sha }}"
|
||||||
|
@ -101,11 +103,13 @@ jobs:
|
||||||
|
|
||||||
### build + upload debug
|
### build + upload debug
|
||||||
- name: Build debug mode
|
- name: Build debug mode
|
||||||
|
continue-on-error: true
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_linux.sh debug
|
run: "sudo chmod 777 build_linux.sh && ./build_linux.sh debug"
|
||||||
|
|
||||||
- name: Upload build (debug)
|
- name: Upload build (debug)
|
||||||
|
if: success()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-linux-debug-${{ github.sha }}"
|
name: "build-linux-debug-${{ github.sha }}"
|
||||||
|
|
8
.github/workflows/build-win.yml
vendored
8
.github/workflows/build-win.yml
vendored
|
@ -3,8 +3,8 @@ name: Windows-build
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "ci_runner" ]
|
branches: [ "ci_runner" ]
|
||||||
pull_request:
|
# pull_request:
|
||||||
branches: [ "ci_runner" ]
|
# branches: [ "ci_runner" ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
@ -93,11 +93,13 @@ jobs:
|
||||||
|
|
||||||
### build + upload release
|
### build + upload release
|
||||||
- name: Build release mode
|
- name: Build release mode
|
||||||
|
continue-on-error: true
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_win.bat release
|
run: build_win.bat release
|
||||||
|
|
||||||
- name: Upload build (release)
|
- name: Upload build (release)
|
||||||
|
if: success()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-win-release-${{ github.sha }}"
|
name: "build-win-release-${{ github.sha }}"
|
||||||
|
@ -107,11 +109,13 @@ jobs:
|
||||||
|
|
||||||
### build + upload debug
|
### build + upload debug
|
||||||
- name: Build debug mode
|
- name: Build debug mode
|
||||||
|
continue-on-error: true
|
||||||
shell: cmd
|
shell: cmd
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: build_win.bat debug
|
run: build_win.bat debug
|
||||||
|
|
||||||
- name: Upload build (debug)
|
- name: Upload build (debug)
|
||||||
|
if: success()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "build-win-debug-${{ github.sha }}"
|
name: "build-win-debug-${{ github.sha }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue