Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
arrufat committed Feb 3, 2025
1 parent 9f94aa3 commit 45c8e0a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ defaults:
working-directory: dlib/test

jobs:
ubuntu-22-04-gcc-default-cmake-3-8-ffmpeg5:
ubuntu-22-04-gcc-default-cmake-3-10-ffmpeg5:
runs-on: 'ubuntu-22.04'
steps:
- uses: actions/checkout@v2
Expand All @@ -40,18 +40,18 @@ jobs:
sudo apt update
sudo apt install libwebp-dev make yasm
- name: Cache cmake 3.8.0
- name: Cache cmake 3.10.0
uses: actions/cache@v3
id: cache-cmake-download
with:
# cache this folder:
path: ~/cmake-3.8.0-Linux-x86_64
key: cmake-3.8.0_try3
path: ~/cmake-3.10.0-Linux-x86_64
key: cmake-3.10.0_try3

- run: |
# Get the minimum version of cmake dlib supports
wget https://cmake.org/files/v3.8/cmake-3.8.0-Linux-x86_64.tar.gz
tar -xf cmake-3.8.0-Linux-x86_64.tar.gz -C ~
wget https://cmake.org/files/v3.10/cmake-3.10.0-Linux-x86_64.tar.gz
tar -xf cmake-3.10.0-Linux-x86_64.tar.gz -C ~
if: steps.cache-cmake-download.outputs.cache-hit != 'true'
- name: Cache FFmpeg 5
Expand All @@ -76,7 +76,7 @@ jobs:
run: |
mkdir build
cd build
~/cmake-3.8.0-Linux-x86_64/bin/cmake -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n5.1.3_installation ..
~/cmake-3.10.0-Linux-x86_64/bin/cmake -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n5.1.3_installation ..
- name: Build just tests
run: |
Expand Down

0 comments on commit 45c8e0a

Please # to comment.