Skip to content

Commit

Permalink
change command to be compatible with system
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoAhoy committed Aug 25, 2021
1 parent e913018 commit 3115717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -r requirements.txt
python -c "import pytest; print(pytest.__file__)"
pip show isort
- name: Get JuiceFS Version
id: jfs-version
run: echo "::set-output name=JUICEFS_VERSION::$(make -s print_libjfs_version)"
Expand All @@ -50,10 +48,10 @@ jobs:
with:
path: ${{ matrix.libjfs-path }}/libjfs
key: ${{ matrix.os }}-golang-libjfs${{ steps.jfs-version.outputs.JUICEFS_VERSION }}
- name: Run build-libjfs
- name: Run build-libjfs linux/mac
if: steps.libjfs-cache.outputs.cache-hit != 'true'
run: |
make build_libjfs
make build_libjfs_so
mkdir -p ${{ matrix.libjfs-path }}/libjfs
mv juicefs/lib/juicefs ${{ matrix.libjfs-path }}/libjfs/juicefs
mv juicefs/lib/libjfs.so ${{ matrix.libjfs-path }}/libjfs/libjfs.so
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ JUICEFS_VERSION := 0.14.2
clean:
rm -rf dist build *.egg-info .pytype .pytest_cache .pytype_output

build_libjfs:
build_libjfs_so:
rm -rf build && mkdir build
cd build \
&& wget https://github.com/juicedata/juicefs/archive/refs/tags/v${JUICEFS_VERSION}.zip \
Expand Down

0 comments on commit 3115717

Please sign in to comment.