Update APK-Release.yml
building stuff is wank
This commit is contained in:
@@ -87,77 +87,77 @@ jobs:
|
||||
path: debug/**/*.so
|
||||
retention-days: 7
|
||||
|
||||
build-steam-frame:
|
||||
name: Steam Frame
|
||||
runs-on: ubuntu-24.04-arm
|
||||
if: ${{ vars.APK_ONLY != '' }}
|
||||
container:
|
||||
image: registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk/arm64:4.0.20260805.254769
|
||||
volumes:
|
||||
- ${{github.workspace}}/install:/tmp/install
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- name: Apt dependencies
|
||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||
with:
|
||||
packages: librsvg2-bin npm
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2.23
|
||||
with:
|
||||
key: steam-frame
|
||||
job-summary: ""
|
||||
|
||||
- uses: actions/cache@v5
|
||||
with:
|
||||
key: cmake-frame
|
||||
path: |
|
||||
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
|
||||
${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
|
||||
${{github.workspace}}/cmake-fetch/*.tar.*
|
||||
${{github.workspace}}/cmake-fetch/*.tgz
|
||||
${{github.workspace}}/cmake-fetch/*-src/.git
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-arm64.deb
|
||||
sudo dpkg --install KTX-Software-4.4.2-Linux-arm64.deb
|
||||
npm install --global @gltf-transform/cli@4.1.1
|
||||
|
||||
- name: Configure CMake
|
||||
run: >
|
||||
cmake -B "$GITHUB_WORKSPACE/build"
|
||||
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
-DWIVRN_CSS=${{env.CSS}}
|
||||
-DFETCHCONTENT_BASE_DIR="$GITHUB_WORKSPACE/cmake-fetch"
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
--preset frame
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
cd "$GITHUB_WORKSPACE/build"
|
||||
DESTDIR="$GITHUB_WORKSPACE/install" ninja install
|
||||
|
||||
- name: Archive
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: wivrn-frame-client.zip
|
||||
path: install/usr
|
||||
if-no-files-found: error
|
||||
retention-days: 30
|
||||
# build-steam-frame:
|
||||
# name: Steam Frame
|
||||
# runs-on: ubuntu-24.04-arm
|
||||
# if: ${{ vars.APK_ONLY != '' }}
|
||||
# container:
|
||||
# image: registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk/arm64:4.0.20260805.254769
|
||||
# volumes:
|
||||
# - ${{github.workspace}}/install:/tmp/install
|
||||
#
|
||||
# steps:
|
||||
# - uses: actions/checkout@v6
|
||||
# with:
|
||||
# fetch-depth: 0
|
||||
# fetch-tags: true
|
||||
#
|
||||
# - name: Apt dependencies
|
||||
# uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||
# with:
|
||||
# packages: librsvg2-bin npm
|
||||
#
|
||||
# - name: ccache
|
||||
# uses: hendrikmuhs/ccache-action@v1.2.23
|
||||
# with:
|
||||
# key: steam-frame
|
||||
# job-summary: ""
|
||||
#
|
||||
# - uses: actions/cache@v5
|
||||
# with:
|
||||
# key: cmake-frame
|
||||
# path: |
|
||||
# ${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
|
||||
# ${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
|
||||
# ${{github.workspace}}/cmake-fetch/*.tar.*
|
||||
# ${{github.workspace}}/cmake-fetch/*.tgz
|
||||
# ${{github.workspace}}/cmake-fetch/*-src/.git
|
||||
#
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-arm64.deb
|
||||
# sudo dpkg --install KTX-Software-4.4.2-Linux-arm64.deb
|
||||
# npm install --global @gltf-transform/cli@4.1.1
|
||||
#
|
||||
# - name: Configure CMake
|
||||
# run: >
|
||||
# cmake -B "$GITHUB_WORKSPACE/build"
|
||||
# -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
# -DWIVRN_CSS=${{env.CSS}}
|
||||
# -DFETCHCONTENT_BASE_DIR="$GITHUB_WORKSPACE/cmake-fetch"
|
||||
# -DCMAKE_C_COMPILER_LAUNCHER=ccache
|
||||
# -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||
# -DCMAKE_INSTALL_PREFIX=/usr
|
||||
# --preset frame
|
||||
#
|
||||
# - name: Build
|
||||
# run: |
|
||||
# git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
# cd "$GITHUB_WORKSPACE/build"
|
||||
# DESTDIR="$GITHUB_WORKSPACE/install" ninja install
|
||||
#
|
||||
# - name: Archive
|
||||
# uses: actions/upload-artifact@v7
|
||||
# with:
|
||||
# name: wivrn-frame-client.zip
|
||||
# path: install/usr
|
||||
# if-no-files-found: error
|
||||
# retention-days: 30
|
||||
|
||||
release:
|
||||
name: Create APK release
|
||||
runs-on: ubuntu-24.04
|
||||
needs: [build-android-only, build-steam-frame]
|
||||
needs: build-android-only
|
||||
if: ${{ vars.APK_ONLY != '' }}
|
||||
|
||||
steps:
|
||||
@@ -188,12 +188,12 @@ jobs:
|
||||
cd symbols
|
||||
zip -r ../debug-symbols.zip .
|
||||
|
||||
- name: Download Steam Frame artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: install/usr
|
||||
pattern: 'wivrn-frame-client.zip'
|
||||
merge-multiple: true
|
||||
# - name: Download Steam Frame artifacts
|
||||
# uses: actions/download-artifact@v4
|
||||
# with:
|
||||
# path: install/usr
|
||||
# pattern: 'wivrn-frame-client.zip'
|
||||
# merge-multiple: true
|
||||
|
||||
- name: APK Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
||||
Reference in New Issue
Block a user