-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d95bd37
commit be8626a
Showing
105 changed files
with
43 additions
and
79,873 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build CLI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- "zstandard_cli/**" | ||
|
||
jobs: | ||
prepare_native_precompiled_lib: | ||
name: Download zstd lib directory | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js 18 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18.x' | ||
|
||
- name: Install Landa Messenger CLI | ||
run: npm install @landamessenger/landa-messenger-api -g | ||
|
||
- name: Download source files from facebook/zstd | ||
run: | | ||
# Descargar y extraer solo el directorio lib desde el repositorio de Facebook | ||
git clone --depth 1 --filter=blob:none --sparse https://github.com/facebook/zstd.git | ||
cd zstd | ||
git sparse-checkout set lib | ||
cd .. | ||
# Mover el directorio lib al destino | ||
mv zstd/lib src/ | ||
# Limpiar el clon del repositorio de facebook/zstd | ||
rm -rf zstd/ | ||
- name: List files in zstd/lib to verify | ||
run: ls -R src/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,10 @@ pubspec.lock | |
.idea/ | ||
*.iml | ||
|
||
zstd/.DS_Store | ||
src/.DS_Store | ||
|
||
*/build/ | ||
|
||
zstd/obj/ | ||
src/obj/ | ||
zstd/*.dylib | ||
zstd/*.a |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.