mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-21 12:15:21 +00:00
Temporarily completely isolate arm64 and x86 dependencies
This commit is contained in:
35
.github/workflows/build_deps.yml
vendored
35
.github/workflows/build_deps.yml
vendored
@@ -85,8 +85,8 @@ jobs:
|
|||||||
brew install zstd
|
brew install zstd
|
||||||
|
|
||||||
# Note for later: may need libtool and libpng++-dev dependencies for arm builds
|
# Note for later: may need libtool and libpng++-dev dependencies for arm builds
|
||||||
- name: Install Ubuntu Build Dependencies
|
- name: Install Ubuntu ${{ inputs.arch }} Build Dependencies
|
||||||
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' || inputs.arch == 'x86_64' || inputs.arch == 'aarch64'
|
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' && inputs.arch == 'x86_64'
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
env:
|
env:
|
||||||
apt-cmd: ${{ (inputs.os == 'ubuntu-20.04' && 'apt-fast') || (inputs.os == 'ubuntu-24.04' && 'sudo apt-get') || '' }}
|
apt-cmd: ${{ (inputs.os == 'ubuntu-20.04' && 'apt-fast') || (inputs.os == 'ubuntu-24.04' && 'sudo apt-get') || '' }}
|
||||||
@@ -99,8 +99,35 @@ jobs:
|
|||||||
libgstreamer1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-base1.0-dev \
|
libgstreamer1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-base1.0-dev \
|
||||||
gstreamer1.0-plugins-bad libosmesa6-dev wget sudo autoconf curl libunwind-dev texinfo
|
gstreamer1.0-plugins-bad libosmesa6-dev wget sudo autoconf curl libunwind-dev texinfo
|
||||||
|
|
||||||
- name: Build on Ubuntu
|
- name: Install Ubuntu ${{ inputs.arch }} Build Dependencies
|
||||||
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' || inputs.arch == 'x86_64' || inputs.arch == 'aarch64'
|
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' && inputs.arch == 'aarch64'
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
env:
|
||||||
|
apt-cmd: ${{ (inputs.os == 'ubuntu-20.04' && 'apt-fast') || (inputs.os == 'ubuntu-24.04' && 'sudo apt-get') || '' }}
|
||||||
|
webkit-ver: ${{ (inputs.os == 'ubuntu-20.04' && '4.0') || (inputs.os == 'ubuntu-24.04' && '4.1') || '' }}
|
||||||
|
run: |
|
||||||
|
${{ env.apt-cmd }} update
|
||||||
|
${{ env.apt-cmd }} install -y cmake git g++ build-essential libgl1-mesa-dev m4 \
|
||||||
|
libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules pkgconf \
|
||||||
|
libglu1-mesa-dev libcairo2-dev libgtk-3-dev libsoup2.4-dev libwebkit2gtk-${{ env.webkit-ver }}-dev \
|
||||||
|
libgstreamer1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-base1.0-dev \
|
||||||
|
gstreamer1.0-plugins-bad libosmesa6-dev wget sudo autoconf curl libunwind-dev texinfo
|
||||||
|
|
||||||
|
|
||||||
|
- name: Build on Ubuntu ${{ inputs.arch }}
|
||||||
|
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' && inputs.arch == 'x86_64'
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
mkdir -p ${{ github.workspace }}/deps/build_${{ inputs.arch }}
|
||||||
|
mkdir -p ${{ github.workspace }}/deps/build_${{ inputs.arch }}/destdir
|
||||||
|
sudo ./BuildLinux.sh -ur
|
||||||
|
sudo chown $USER -R ./
|
||||||
|
./BuildLinux.sh -dr
|
||||||
|
cd deps/build_${{ inputs.arch }}
|
||||||
|
tar -czvf OrcaSlicer_dep_ubuntu_$(date +"%Y%m%d")_${{ inputs.arch }}.tar.gz destdir
|
||||||
|
|
||||||
|
- name: Build on Ubuntu ${{ inputs.arch }}
|
||||||
|
if: inputs.os == 'ubuntu-20.04' || inputs.os == 'ubuntu-24.04' && inputs.arch == 'aarch64'
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ${{ github.workspace }}/deps/build_${{ inputs.arch }}
|
mkdir -p ${{ github.workspace }}/deps/build_${{ inputs.arch }}
|
||||||
|
|||||||
Reference in New Issue
Block a user