Skip to content

Commit

Permalink
feature: testing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
efraespada committed Nov 1, 2024
1 parent d95bd37 commit be8626a
Show file tree
Hide file tree
Showing 105 changed files with 43 additions and 79,873 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/push_master_cli.yml
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
4 changes: 2 additions & 2 deletions zstandard_cli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ pubspec.lock
.idea/
*.iml

zstd/.DS_Store
src/.DS_Store

*/build/

zstd/obj/
src/obj/
zstd/*.dylib
zstd/*.a
3 changes: 0 additions & 3 deletions zstandard_cli/zstd/.gitignore

This file was deleted.

232 changes: 0 additions & 232 deletions zstandard_cli/zstd/BUCK

This file was deleted.

Loading

0 comments on commit be8626a

Please sign in to comment.