Testing workflow
Some checks failed
Multi-Platform Release Build / build (false, linux/arm64, native) (push) Successful in 5m17s
Multi-Platform Release Build / build (true, build-essential gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64, map[CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER:x86_64-w64-mingw32-gcc CC_x86_64_pc_windows_gnu:x86_64-w64-mingw32-gcc], linux/amd64, x86_64-pc-windows-gnu) (push) Successful in 12m30s
Multi-Platform Release Build / build (true, linux/amd64, x86_64-unknown-linux-gnu) (push) Failing after 2m33s
Multi-Platform Release Build / create-release (push) Has been skipped

This commit is contained in:
Marco De Araujo 2026-01-02 11:45:30 -04:00
parent 7bb7a5a6b1
commit 3c95626cf9

View file

@ -17,13 +17,6 @@ jobs:
- target: x86_64-unknown-linux-gnu
cross: true
platform: linux/amd64
deps: "build-essential libssl-dev pkg-config gcc-x86_64-linux-gnu"
env:
PKG_CONFIG_ALLOW_CROSS: "1"
OPENSSL_STATIC: "1"
OPENSSL_LIB_DIR: "/usr/lib/x86_64-linux-gnu"
OPENSSL_INCLUDE_DIR: "/usr/include/openssl"
PKG_CONFIG_ALL_STATIC: "1"
- target: x86_64-pc-windows-gnu
cross: true
@ -76,20 +69,20 @@ jobs:
- name: Cross-Build Linux x86_64 Release
if: matrix.target == 'x86_64-unknown-linux-gnu'
uses: docker://rust:slim
uses: docker://ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main
with:
args: >
sh -c "
echo 'OPENSSL_DIR:' $OPENSSL_DIR &&
apt-get update && apt-get install -y ${{ matrix.deps }} &&
rustup target add x86_64-unknown-linux-gnu &&
export OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
export PKG_CONFIG_ALLOW_CROSS=1
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
cargo build --release --target x86_64-unknown-linux-gnu &&
mkdir -p release-artifacts &&
cp target/x86_64-unknown-linux-gnu/release/uptime-kuma-dashboard release-artifacts/uptime-kuma-dashboard-x86_64-unknown-linux-gnu &&
strip release-artifacts/uptime-kuma-dashboard-x86_64-unknown-linux-gnu &&
chmod +x release-artifacts/uptime-kuma-dashboard-x86_64-unknown-linux-gnu &&
ls -lh release-artifacts/"
env: ${{ matrix.env }}
chmod +x release-artifacts/uptime-kuma-dashboard-x86_64-unknown-linux-gnu"
options: --platform ${{ matrix.platform }}
- name: Cross-Build Windows x86_64 Release