mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-19 15:10:34 -04:00
feat(ci): Build on ubuntu-22.0.4 with webkit pinned to 2.36.0 to support old systems
This is an attempt to fix this issue: https://github.com/gitbutlerapp/gitbutler/issues/5282#issuecomment-2491833408
This commit is contained in:
parent
6ae53326b3
commit
23d22b5792
2 changed files with 17 additions and 17 deletions
|
@ -7,7 +7,7 @@ on:
|
|||
|
||||
env:
|
||||
# We build on an older version to support older glib versions
|
||||
UBUNTU: "ubuntu-24.04"
|
||||
UBUNTU: "ubuntu-22.04"
|
||||
MACOS_ARM: "macos-latest"
|
||||
MACOS_INTEL: "macos-13"
|
||||
WINDOWS: "windows-latest"
|
||||
|
@ -36,7 +36,7 @@ jobs:
|
|||
args: "--target aarch64-apple-darwin"
|
||||
- platform: "macos-13" # For Intel-based Macs
|
||||
args: "--target x86_64-apple-darwin"
|
||||
- platform: "ubuntu-24.04"
|
||||
- platform: "ubuntu-22.04"
|
||||
args: ""
|
||||
- platform: "windows-latest"
|
||||
args: ""
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
|
||||
|
||||
- name: install dependencies (ubuntu only)
|
||||
if: matrix.platform == 'ubuntu-24.04' # This must match the platform value defined above.
|
||||
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
|
||||
run: |
|
||||
sudo apt update;
|
||||
sudo apt install -y \
|
||||
|
@ -71,12 +71,12 @@ jobs:
|
|||
librsvg2-dev;
|
||||
|
||||
sudo apt install -y \
|
||||
libwebkit2gtk-4.1-0=2.44.0-2 \
|
||||
libwebkit2gtk-4.1-dev=2.44.0-2 \
|
||||
libjavascriptcoregtk-4.1-0=2.44.0-2 \
|
||||
libjavascriptcoregtk-4.1-dev=2.44.0-2 \
|
||||
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
|
||||
gir1.2-webkit2-4.1=2.44.0-2;
|
||||
libwebkit2gtk-4.1-0=2.36.0 \
|
||||
libwebkit2gtk-4.1-dev=2.36.0 \
|
||||
libjavascriptcoregtk-4.1-0=2.36.0 \
|
||||
libjavascriptcoregtk-4.1-dev=2.36.0 \
|
||||
gir1.2-javascriptcoregtk-4.1=2.36.0 \
|
||||
gir1.2-webkit2-4.1=2.36.0;
|
||||
|
||||
- name: Install Frontend Dependencies
|
||||
working-directory: src-gui
|
||||
|
|
16
.github/workflows/build-gui-release-binaries.yml
vendored
16
.github/workflows/build-gui-release-binaries.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
args: "--target aarch64-apple-darwin"
|
||||
- platform: "macos-13" # for Intel based macs.
|
||||
args: "--target x86_64-apple-darwin"
|
||||
- platform: "ubuntu-24.04" # We build on an older version to support older glib versions
|
||||
- platform: "ubuntu-22.04" # We build on an older version to support older glib versions
|
||||
args: ""
|
||||
- platform: "windows-latest"
|
||||
args: ""
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
|
||||
|
||||
- name: install dependencies (ubuntu only)
|
||||
if: matrix.platform == 'ubuntu-24.04' # This must match the platform value defined above.
|
||||
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
|
||||
run: |
|
||||
sudo apt update;
|
||||
sudo apt install -y \
|
||||
|
@ -57,12 +57,12 @@ jobs:
|
|||
librsvg2-dev;
|
||||
|
||||
sudo apt install -y \
|
||||
libwebkit2gtk-4.1-0=2.44.0-2 \
|
||||
libwebkit2gtk-4.1-dev=2.44.0-2 \
|
||||
libjavascriptcoregtk-4.1-0=2.44.0-2 \
|
||||
libjavascriptcoregtk-4.1-dev=2.44.0-2 \
|
||||
gir1.2-javascriptcoregtk-4.1=2.44.0-2 \
|
||||
gir1.2-webkit2-4.1=2.44.0-2;
|
||||
libwebkit2gtk-4.1-0=2.36.0 \
|
||||
libwebkit2gtk-4.1-dev=2.36.0 \
|
||||
libjavascriptcoregtk-4.1-0=2.36.0 \
|
||||
libjavascriptcoregtk-4.1-dev=2.36.0 \
|
||||
gir1.2-javascriptcoregtk-4.1=2.36.0 \
|
||||
gir1.2-webkit2-4.1=2.36.0;
|
||||
|
||||
- name: install frontend dependencies
|
||||
working-directory: src-gui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue