mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-25 14:24:45 +00:00
github: try to upload artifacts
This commit is contained in:
parent
dc186c3cba
commit
2604ea39c5
26
.github/workflows/c-cpp.yml
vendored
26
.github/workflows/c-cpp.yml
vendored
@ -11,27 +11,34 @@ jobs:
|
|||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
targetos: linux
|
targetos: linux
|
||||||
targetarch: amd64
|
targetarch: amd64
|
||||||
|
artifacts: xash3d-fwgs-amd64.AppImage xashds-linux-amd64
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
targetos: linux
|
targetos: linux
|
||||||
targetarch: i386
|
targetarch: i386
|
||||||
|
artifacts: xash3d-fwgs-i386.AppImage xashds-linux-i386
|
||||||
|
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
targetos: android
|
targetos: android
|
||||||
targetarch: 32
|
targetarch: 32
|
||||||
|
artifacts: xashdroid-32.apk
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
targetos: android
|
targetos: android
|
||||||
targetarch: 64
|
targetarch: 64
|
||||||
|
artifacts: xashdroid-64.apk
|
||||||
|
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
targetos: motomagx
|
targetos: motomagx
|
||||||
targetarch: armv6
|
targetarch: armv6
|
||||||
|
artifacts: xash3d-fwgs-magx.7z
|
||||||
|
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
targetos: win32
|
targetos: win32
|
||||||
targetarch: amd64
|
targetarch: amd64
|
||||||
|
artifacts: xash3d-fwgs-win32-amd64.7z
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
targetos: win32
|
targetos: win32
|
||||||
targetarch: i386
|
targetarch: i386
|
||||||
|
artifacts: xash3d-fwgs-win32-i386.7z
|
||||||
env:
|
env:
|
||||||
SDL_VERSION: 2.0.14
|
SDL_VERSION: 2.0.14
|
||||||
GH_CPU_ARCH: ${{ matrix.targetarch }}
|
GH_CPU_ARCH: ${{ matrix.targetarch }}
|
||||||
@ -55,15 +62,10 @@ jobs:
|
|||||||
- name: Build engine
|
- name: Build engine
|
||||||
run: bash scripts/gha/build_${{ matrix.targetos }}.sh
|
run: bash scripts/gha/build_${{ matrix.targetos }}.sh
|
||||||
|
|
||||||
- name: Upload engine (android)
|
- name: Upload engine (prereleases)
|
||||||
if: matrix.targetos == 'android'
|
run: bash scripts/continious_upload.sh ${{ matrix.artifacts }}
|
||||||
run: bash scripts/continious_upload.sh xashdroid-${{ matrix.targetarch }}.apk
|
- name: Upload engine (artifacts)
|
||||||
- name: Upload engine (motomagx)
|
uses: actions/upload-artifact@v2
|
||||||
if: matrix.targetos == 'motomagx'
|
with:
|
||||||
run: bash scripts/continious_upload.sh xash3d-fwgs-magx.7z
|
name: artifact-${{ matrix.targetos }}-${{ matrix.targetarch }}
|
||||||
- name: Upload engine (linux)
|
path: ${{ matrix.artifacts }}
|
||||||
if: matrix.targetos == 'linux'
|
|
||||||
run: bash scripts/continious_upload.sh xash3d-fwgs-${{ matrix.targetarch }}.AppImage xashds-linux-${{ matrix.targetarch }}
|
|
||||||
- name: Upload engine (windows)
|
|
||||||
if: matrix.targetos == 'win32'
|
|
||||||
run: bash scripts/continious_upload.sh xash3d-fwgs-win32-${{ matrix.targetarch }}.7z
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user