Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jinfeihan57/p7zip
Browse files Browse the repository at this point in the history
  • Loading branch information
jinfeihan57 committed Dec 30, 2022
2 parents ce901c9 + 09b24e5 commit 51e8e6d
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: p7zip1-CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
name: Ubuntu-Check
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: build 7za & check
run: |
mkdir linux-p7zip
mkdir linux-p7zip/bin
mkdir linux-p7zip/lib
export PROJECT_ROOT=`pwd`
cd CPP/7zip/Bundles/Alone
make -f makefile.gcc
INSTALL_PREFIX=$PROJECT_ROOT/linux-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/linux-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/linux-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/linux-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/linux-p7zip make -f makefile.gcc install

0 comments on commit 51e8e6d

Please sign in to comment.