|
|
|
@ -51,18 +51,10 @@ jobs:
@@ -51,18 +51,10 @@ jobs:
|
|
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
with: |
|
|
|
|
submodules: recursive |
|
|
|
|
- name: Checkout xash-extras |
|
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
with: |
|
|
|
|
repository: FWGS/xash-extras |
|
|
|
|
path: xash-extras |
|
|
|
|
|
|
|
|
|
- name: Install dependencies |
|
|
|
|
run: bash scripts/gha/deps_${{ matrix.targetos }}.sh |
|
|
|
|
|
|
|
|
|
- name: Build engine |
|
|
|
|
run: bash scripts/gha/build_${{ matrix.targetos }}.sh |
|
|
|
|
|
|
|
|
|
- name: Upload engine (prereleases) |
|
|
|
|
run: bash scripts/continious_upload.sh artifacts/* |
|
|
|
|
- name: Upload engine (artifacts) |
|
|
|
@ -70,3 +62,28 @@ jobs:
@@ -70,3 +62,28 @@ jobs:
|
|
|
|
|
with: |
|
|
|
|
name: artifact-${{ matrix.targetos }}-${{ matrix.targetarch }} |
|
|
|
|
path: artifacts/* |
|
|
|
|
flatpak: |
|
|
|
|
name: "Flatpak" |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
strategy: |
|
|
|
|
matrix: |
|
|
|
|
include: |
|
|
|
|
- app: su.xash.Engine.Compat.i386 |
|
|
|
|
container: |
|
|
|
|
image: bilelmoussaoui/flatpak-github-actions:freedesktop-22.08 |
|
|
|
|
options: --privileged |
|
|
|
|
env: |
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|
UPLOADTOOL_ISPRERELEASE: true |
|
|
|
|
steps: |
|
|
|
|
- name: Checkout |
|
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
with: |
|
|
|
|
submodules: recursive |
|
|
|
|
- name: Build flatpak (Compat.i386) |
|
|
|
|
uses: FWGS/flatpak-github-actions/flatpak-builder@v5 |
|
|
|
|
with: |
|
|
|
|
bundle: ${{ matrix.app }}.flatpak |
|
|
|
|
manifest-path: scripts/flatpak/${{ matrix.app }}.yml |
|
|
|
|
- name: Upload engine (prereleases) |
|
|
|
|
run: bash scripts/continious_upload.sh ${{ matrix.app }}.flatpak |
|
|
|
|