update build workflows

This commit is contained in:
uncor3
2026-01-28 16:28:04 +00:00
parent 882c5b22cf
commit 4d424b4343
3 changed files with 67 additions and 32 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ on:
default: "dev"
env:
QT_VERSION: "6.7.2"
GO_VERSION: "1.23.0"
GO_VERSION: "1.23.4"
LIBPLIST_VER: "2.7.0"
LIBTATSU_VER: "1.0.5"
LIBIMOBILEDEVICE_GLUE_VER: "1.3.2"
+2 -2
View File
@@ -16,7 +16,7 @@ on:
default: "dev"
env:
QT_VERSION: "6.7.2"
GO_VERSION: "1.23.0"
GO_VERSION: "1.23.4"
LIBPLIST_VER: "2.7.0"
LIBTATSU_VER: "1.0.5"
LIBIMOBILEDEVICE_GLUE_VER: "1.3.2"
@@ -55,7 +55,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "^1.23.0"
go-version: "^${{ env.GO_VERSION }}"
- name: Install macOS dependencies
run: |
+64 -29
View File
@@ -15,8 +15,8 @@ on:
type: string
default: "dev"
env:
QT_VERSION: "6.8.0"
GO_VERSION: "1.23.0"
QT_VERSION: "6.8.3"
GO_VERSION: "1.23.4"
LIBPLIST_VER: "2.7.0"
LIBTATSU_VER: "1.0.5"
LIBIMOBILEDEVICE_GLUE_VER: "1.3.2"
@@ -26,7 +26,7 @@ env:
jobs:
build-windows:
runs-on: windows-latest
runs-on: windows-2022
defaults:
run:
shell: msys2 {0}
@@ -43,32 +43,67 @@ jobs:
msystem: mingw64
release: false
update: false
install: >-
coreutils
base-devel
git
make
libtool
autoconf
automake-wrapper
p7zip
mingw-w64-x86_64-gcc
mingw-w64-x86_64-cmake
mingw-w64-x86_64-pugixml
mingw-w64-x86_64-libusb
mingw-w64-x86_64-qrencode
mingw-w64-x86_64-curl
mingw-w64-x86_64-openssl
mingw-w64-x86_64-libzip
mingw-w64-x86_64-go
mingw-w64-x86_64-gstreamer
mingw-w64-x86_64-gst-plugins-base
mingw-w64-x86_64-gst-plugins-good
mingw-w64-x86_64-gst-plugins-bad
mingw-w64-x86_64-gst-plugins-ugly
mingw-w64-x86_64-gst-libav
mingw-w64-x86_64-libheif
mingw-w64-x86_64-libarchive
# FIXME: use ./util/get-msys2-archive.go to download the archive db
# for now, since we install go from pacman, we better do it this way
- name: Use msys2 archive
shell: pwsh
run: |
# Base URL for the 2025-06-22 MSYS2 archive release
$baseUrl = "https://github.com/msys2/msys2-archive/releases/download/2025-06-22"
$databases = @(
"clang64",
"clangarm64",
"mingw32",
"mingw64",
"msys",
"ucrt64"
)
$targetDir = "C:\msys64\var\lib\pacman\sync"
foreach ($db in $databases) {
$dbUrl = "$baseUrl/$db.db"
$sigUrl = "$baseUrl/$db.db.sig"
$dbFile = Join-Path $targetDir "$db.db"
$sigFile = Join-Path $targetDir "$db.db.sig"
Write-Host "Downloading $db.db ..."
Invoke-WebRequest -Uri $dbUrl -OutFile $dbFile
Write-Host "Downloading $db.db.sig ..."
Invoke-WebRequest -Uri $sigUrl -OutFile $sigFile
}
- name: Install deps using pacman
run: |
pacman -S --needed --noconfirm \
coreutils \
base-devel \
git \
make \
libtool \
autoconf \
automake-wrapper \
p7zip \
mingw-w64-x86_64-gcc \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-pugixml \
mingw-w64-x86_64-libusb \
mingw-w64-x86_64-qrencode \
mingw-w64-x86_64-curl \
mingw-w64-x86_64-openssl \
mingw-w64-x86_64-libzip \
mingw-w64-x86_64-go \
mingw-w64-x86_64-gstreamer \
mingw-w64-x86_64-gst-plugins-base \
mingw-w64-x86_64-gst-plugins-good \
mingw-w64-x86_64-gst-plugins-bad \
mingw-w64-x86_64-gst-plugins-ugly \
mingw-w64-x86_64-gst-libav \
mingw-w64-x86_64-libheif
- uses: actions/setup-dotnet@v5
with: