mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Change flatpak runner
This uses a more experimental version of the flatpak runner provided by Flathub
This commit is contained in:
33
.github/workflows/build_all.yml
vendored
33
.github/workflows/build_all.yml
vendored
@@ -62,29 +62,26 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
flatpak:
|
flatpak:
|
||||||
name: "Flatpak"
|
name: "Flatpak"
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
arch: [x86_64, aarch64]
|
|
||||||
fail-fast: false
|
|
||||||
steps:
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y python3-pip
|
|
||||||
pip3 install meson
|
|
||||||
env:
|
|
||||||
date:
|
|
||||||
ver:
|
|
||||||
ver_pure:
|
|
||||||
container:
|
container:
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-46
|
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-47
|
||||||
options: --privileged
|
options: --privileged
|
||||||
volumes:
|
volumes:
|
||||||
- /usr/local/lib/android:/usr/local/lib/android
|
- /usr/local/lib/android:/usr/local/lib/android
|
||||||
- /usr/share/dotnet:/usr/share/dotnet
|
- /usr/share/dotnet:/usr/share/dotnet
|
||||||
- /opt/ghc:/opt/ghc1
|
- /opt/ghc:/opt/ghc1
|
||||||
- /usr/local/share/boost:/usr/local/share/boost1
|
- /usr/local/share/boost:/usr/local/share/boost1
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
variant:
|
||||||
|
- arch: x86_64
|
||||||
|
runner: ubuntu-24.04
|
||||||
|
- arch: aarch64
|
||||||
|
runner: ubuntu-24.04-arm
|
||||||
|
runs-on: ${{ matrix.variant.runner }}
|
||||||
|
env:
|
||||||
|
date:
|
||||||
|
ver:
|
||||||
|
ver_pure:
|
||||||
steps:
|
steps:
|
||||||
- name: "Remove unneeded stuff to free disk space"
|
- name: "Remove unneeded stuff to free disk space"
|
||||||
run:
|
run:
|
||||||
@@ -102,12 +99,12 @@ jobs:
|
|||||||
echo "ver_pure=$ver_pure" >> $GITHUB_ENV
|
echo "ver_pure=$ver_pure" >> $GITHUB_ENV
|
||||||
echo "date=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
echo "date=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@master
|
- uses: flathub-infra/flatpak-github-actions/flatpak-builder@master
|
||||||
with:
|
with:
|
||||||
bundle: OrcaSlicer-Linux-flatpak_${{ env.ver }}.flatpak
|
bundle: OrcaSlicer-Linux-flatpak_${{ env.ver }}.flatpak
|
||||||
manifest-path: flatpak/io.github.softfever.OrcaSlicer.yml
|
manifest-path: flatpak/io.github.softfever.OrcaSlicer.yml
|
||||||
cache: true
|
cache: true
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.variant.arch }}
|
||||||
upload-artifact: false
|
upload-artifact: false
|
||||||
- name: Deploy Flatpak to nightly release
|
- name: Deploy Flatpak to nightly release
|
||||||
if: ${{github.ref == 'refs/heads/main'}}
|
if: ${{github.ref == 'refs/heads/main'}}
|
||||||
|
|||||||
Reference in New Issue
Block a user