Update CI.yml

This commit is contained in:
Lyon 2022-02-14 19:15:10 +08:00 committed by GitHub
parent 1dbf662667
commit 7d5d934f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,13 @@ jobs:
- uses: actions/checkout@v2
- name: install_google_benchmark
run: git clone https://github.com/google/benchmark.git && cd benchmark && cmake -E make_directory "build" && cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../ && cmake --build "build" --config Release && sudo cmake --build "build" --config Release --target install
run: |
git clone -branch v1.6.1 https://github.com/google/benchmark.git
cd benchmark
cmake -E make_directory "build"
cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../
cmake --build "build" --config Release
sudo cmake --build "build" --config Release --target install
- name: PULL_CORE
run: cd ${{github.workspace}}/port/linux && bash pull-core.sh