update lz4 and fix some bug #54
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
name: macos-p7zip-CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
name: macos-Check | |
runs-on: macos-latest | |
if: "startsWith(github.ref, 'refs/tags/') || (!contains(github.event.head_commit.message, '[skip CI]') && !contains(github.event.head_commit.message, '[skip Macos]'))" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build 7za & check | |
run: | | |
mkdir macos-p7zip | |
mkdir macos-p7zip/bin | |
mkdir macos-p7zip/lib | |
export PROJECT_ROOT=`pwd` | |
cd CPP/7zip/Bundles/Alone | |
make -f makefile.gcc | |
INSTALL_PREFIX=$PROJECT_ROOT/macos-p7zip make -f makefile.gcc install | |
git clone https://github.com/jinfeihan57/p7zip_test_utils.git | |
cd p7zip_test_utils/check | |
bash check_7za.sh $PROJECT_ROOT/macos-p7zip/bin/7za | |
- name: build 7zz & check | |
run: | | |
export PROJECT_ROOT=`pwd` | |
cd CPP/7zip/Bundles/Alone2 | |
make -f makefile.gcc | |
INSTALL_PREFIX=$PROJECT_ROOT/macos-p7zip make -f makefile.gcc install | |
git clone https://github.com/jinfeihan57/p7zip_test_utils.git | |
cd p7zip_test_utils/check | |
bash check.sh $PROJECT_ROOT/macos-p7zip/bin/7zz | |
- name: build 7z.so | |
run: | | |
export PROJECT_ROOT=`pwd` | |
cd CPP/7zip/Bundles/Format7zF | |
make -f makefile.gcc | |
INSTALL_PREFIX=$PROJECT_ROOT/macos-p7zip make -f makefile.gcc install |