Skip to content

Commit a6cbd32

Browse files
committed
ci:modify limit freebsd and opensuse system version
1 parent 4bcac8f commit a6cbd32

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

‎.github/workflows/freebsd_build.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ jobs:
4747
arch: ${{ matrix.freebsd-arch }}
4848
usesh: true
4949
prepare: |
50+
mkdir -p /usr/local/etc/pkg/repos
51+
cat > /usr/local/etc/pkg/repos/FreeBSD.conf <<'EOF'
52+
FreeBSD: { enabled: no }
53+
FreeBSD-ports: {
54+
url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
55+
mirror_type: "srv",
56+
signature_type: "fingerprints",
57+
fingerprints: "/usr/share/keys/pkg",
58+
enabled: yes
59+
}
60+
EOF
61+
pkg update -f
5062
pkg install -y gcc cmake gmake git pkgconf jq unzip curl wget bash
5163
run: |
5264
latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)

‎.github/workflows/suse_build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
- arch: amd64
2525
runner: ubuntu-24.04
2626
platform: linux/amd64
27-
version: 16.0
27+
version: "16.0"
2828
artifact: x86-64
2929
- arch: arm64
3030
runner: ubuntu-24.04-arm
3131
platform: linux/arm64
32-
version: 16.0
32+
version: "16.0"
3333
artifact: Arm64
3434

3535
steps:

0 commit comments

Comments
 (0)