Skip to content

Commit

Permalink
feature: github action test
Browse files Browse the repository at this point in the history
  • Loading branch information
efraespada committed Nov 1, 2024
1 parent f14e3d0 commit f9b8b93
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 8 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/push_master_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,22 @@ jobs:
rm -rf zstd/
- name: List files in zstd/lib to verify
run: ls -R src
run: cd zstandard_cli && ls -R src

- name: Compile x86-x64 macos lib
run: |
cd zstandard_cli
cd builders/macos
mkdir build_intel && cd build_intel
cmake -DCMAKE_OSX_ARCHITECTURES=x86_64 ..
cmake --build . --config Release
cd ..
- name: Compile arm64 macos lib
run: |
cd zstandard_cli
cd builders/macos
mkdir build_arm && cd build_arm
cmake -DCMAKE_OSX_ARCHITECTURES=arm64 ..
cmake --build . --config Release
cd ..
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ project(zstandard_macos_library VERSION 0.0.1 LANGUAGES C)

# Encuentra los archivos C de Zstd
file(GLOB ZSTD_SRC
"../../common/*.c"
"../../compress/*.c"
"../../decompress/*.c"
"../../src/common/*.c"
"../../src/compress/*.c"
"../../src/decompress/*.c"
)

# Agrega el ejecutable para el plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ project(zstandard_windows_library VERSION 0.0.1 LANGUAGES C)

# Encuentra los archivos C de Zstd
file(GLOB ZSTD_SRC
"../../*.c"
"../../common/*.c"
"../../compress/*.c"
"../../decompress/*.c"
"../../src/*.c"
"../../src/common/*.c"
"../../src/compress/*.c"
"../../src/decompress/*.c"
)

# Agrega el ejecutable para el plugin
Expand Down

0 comments on commit f9b8b93

Please sign in to comment.