Skip to content

Commit 778bda0

Browse files
authored
Use tar.xz instead of zip (#123)
1 parent e1acb00 commit 778bda0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/parallel_build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
echo "Warning: coprocessor_fw_version.txt not found"
106106
fi
107107
108-
7z a -mx=9 -tzip -xr'!.*' framework-arduinoespressif32-${idf_version_string}.zip framework-arduinoespressif32/
108+
tar --exclude=.* -Jcf framework-arduinoespressif32-${idf_version_string}.tar.xz framework-arduinoespressif32/
109109
110110
- name: Set tag name
111111
id: set_tag_name
@@ -121,7 +121,7 @@ jobs:
121121
body_path: release-info.txt
122122
prerelease: true
123123
files: |
124-
framework-arduinoespressif32-*.zip
124+
framework-arduinoespressif32-*.tar.xz
125125
release-info.txt
126126
env:
127127
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tools/archive-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ idf_version_string=${IDF_BRANCH//\//_}"-$IDF_COMMIT"
44

55
archive_path="dist/arduino-esp32-libs-$TARGET-$idf_version_string.tar.gz"
66
build_archive_path="dist/arduino-esp32-build-$TARGET-$idf_version_string.tar.gz"
7-
pio_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.tar.gz"
7+
pio_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.tar.xz"
88
pio_zip_archive_path="dist/framework-arduinoespressif32-$TARGET-$idf_version_string.zip"
99

1010
mkdir -p dist && rm -rf "$archive_path" "$build_archive_path"
@@ -67,5 +67,5 @@ cd ../../../
6767

6868
if [[ -z "$GITHUB_ACTIONS" ]]; then
6969
echo "Creating PlatformIO Tasmota framework-arduinoespressif32"
70-
7z a -mx=9 -tzip -xr'!.*' ../$pio_zip_archive_path framework-arduinoespressif32/
70+
tar --exclude=.* -Jcf ../$pio_archive_path framework-arduinoespressif32/
7171
fi

tools/prepare-ci.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
77
brew install gperf || true
88
brew install ninja || true
99
brew install ccache || true
10-
brew install 7zip || true
10+
brew install xz || true
1111
brew install uv || true
1212
uv venv
1313
uv pip install future pyelftools
1414
else
1515
echo "Linux detected. Install dependencies..."
16-
sudo apt update && sudo apt install -y gperf cmake ninja-build ccache p7zip-full
16+
sudo apt update && sudo apt install -y gperf cmake ninja-build ccache xz-utils
1717
curl -LsSf https://astral.sh/uv/install.sh | sh
1818
uv venv
1919
uv pip install future pyelftools

0 commit comments

Comments
 (0)