Skip to content

Commit 0114bf7

Browse files
committed
Test
1 parent a366d62 commit 0114bf7

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ jobs:
9595
9696
TAG=${{ needs.version-and-tag.outputs.tag }}
9797
if [[ "$TAG" =~ -alpha$ ]]; then
98-
FILE_NAME="${APP_NAME}-${VERSION}-alpha-linux2-${{ matrix.arch }}-node${NODE_MAJOR}"
98+
FILE_NAME="${APP_NAME}-${VERSION}-alpha-glib2.28-linux-${{ matrix.arch }}-node${NODE_MAJOR}"
9999
elif [[ "$TAG" =~ -beta$ ]]; then
100-
FILE_NAME="${APP_NAME}-${VERSION}-beta-linux2-${{ matrix.arch }}-node${NODE_MAJOR}"
100+
FILE_NAME="${APP_NAME}-${VERSION}-beta-glib2.28-linux-${{ matrix.arch }}-node${NODE_MAJOR}"
101101
else
102-
FILE_NAME="${APP_NAME}-${VERSION}-linux2-${{ matrix.arch }}-node${NODE_MAJOR}"
102+
FILE_NAME="${APP_NAME}-${VERSION}-glib2.28-linux-${{ matrix.arch }}-node${NODE_MAJOR}"
103103
fi
104104
105105
ASSET_NAME=$(echo "$FILE_NAME" | tr '[:upper:]' '[:lower:]')
@@ -127,18 +127,19 @@ jobs:
127127
128128
SYS_LIB=$(find /usr/lib -name libstdc++.so.6 | head -n 1)
129129
SYS_MAX=$(strings "$SYS_LIB" | grep "GLIBCXX_[0-9]" | sort -V | tail -n 1)
130+
SYS_MIN=$(strings "$SYS_LIB" | grep "GLIBCXX_[0-9]" | sort -V | head -n 1)
130131
echo "----------------------------------------------------------------"
131-
echo "SYSTEM BASELINE (Debian 10):"
132+
echo "SYSTEM BASELINE:"
132133
echo "Library Path: $SYS_LIB"
133134
echo "Max GLIBCXX Supported: $SYS_MAX"
135+
echo "Min GLIBCXX Supported: $SYS_MIN"
134136
echo "----------------------------------------------------------------"
135137
136138
wget -q https://go.dev/dl/go${{ needs.get-configs.outputs.go-version }}.linux-${{ matrix.go-arch }}.tar.gz
137139
tar -C /usr/local -xzf go${{ needs.get-configs.outputs.go-version }}.linux-${{ matrix.go-arch }}.tar.gz
138140
export PATH=$PATH:/usr/local/go/bin
139141
140-
uname -r
141-
node -v && npm -v && go version
142+
uname -r && node -v && npm -v && go version
142143
143144
npm ci
144145
@@ -156,14 +157,11 @@ jobs:
156157
exit 1
157158
else
158159
find . -name "*.node" -print0 | while IFS= read -r -d "" file; do
159-
echo "------------------------------------------------"
160160
echo "Inspecting: $file"
161-
162-
# Get the max version required by this specific file
163161
FILE_MAX=$(strings "$file" | grep "GLIBCXX_[0-9]" | sort -V | tail -n 1)
164-
echo " > File Requires: $FILE_MAX"
162+
FILE_MIN=$(strings "$file" | grep "GLIBCXX_[0-9]" | sort -V | head -n 1)
163+
echo " > FileMAX - $FILE_MAX FileMIN - $FILE_MIN"
165164
done
166-
echo "------------------------------------------------"
167165
fi
168166
169167
GOARCH=${{ matrix.go-arch }} go build -C ./cfn-init/cmd -v -o ../../bundle/production/bin/cfn-init
@@ -187,10 +185,10 @@ jobs:
187185
include:
188186
- { os: "ubuntu-latest", arch: "x64", platform: "linux", go-arch: "amd64", node-version: "22.x" }
189187
- { os: "ubuntu-24.04-arm", arch: "arm64", platform: "linux", go-arch: "arm64", node-version: "22.x" }
190-
# - { os: "macos-15-intel", arch: "x64", platform: "darwin", go-arch: "amd64", node-version: "22.x" }
191-
# - { os: "macos-latest", arch: "arm64", platform: "darwin", go-arch: "arm64", node-version: "22.x" }
192-
# - { os: "windows-latest", arch: "x64", platform: "win32", go-arch: "amd64", node-version: "22.x" }
193-
# - { os: "windows-11-arm", arch: "arm64", platform: "win32", go-arch: "arm64", node-version: "22.x" }
188+
- { os: "macos-15-intel", arch: "x64", platform: "darwin", go-arch: "amd64", node-version: "22.x" }
189+
- { os: "macos-latest", arch: "arm64", platform: "darwin", go-arch: "arm64", node-version: "22.x" }
190+
- { os: "windows-latest", arch: "x64", platform: "win32", go-arch: "amd64", node-version: "22.x" }
191+
- { os: "windows-11-arm", arch: "arm64", platform: "win32", go-arch: "arm64", node-version: "22.x" }
194192
runs-on: ${{ matrix.os }}
195193
steps:
196194
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)