Skip to content
Snippets Groups Projects
Commit 172e3801 authored by Silas Della Contrada's avatar Silas Della Contrada
Browse files

Added apt package cache to CI

parent a438ee1f
No related branches found
No related tags found
No related merge requests found
build-container: cache:
paths:
- apt-cache/
build:
stage: build stage: build
image: wiktorguz/qt6 image: wiktorguz/qt6
script: before_script:
- apt update && apt upgrade -y - apt update && apt upgrade -o dir::cache::archives="apt-cache" -y
- apt install -y software-properties-common - apt install -o dir::cache::archives="apt-cache" -y software-properties-common
- add-apt-repository -y ppa:ubuntu-toolchain-r/test && apt update - add-apt-repository -y ppa:ubuntu-toolchain-r/test && apt update
- apt install -y libswscale-dev libswresample-dev libpostproc-dev libavutil-dev libavresample-dev libavformat-dev libavfilter-extra libavfilter-dev libavdevice-dev libavcodec-extra libavcodec-dev ffmpeg git cmake libvulkan-dev gcc-10 gcc-10-base gcc-10-doc g++-10 libopenal-dev - apt install -o dir::cache::archives="apt-cache" -y libswscale-dev libswresample-dev libpostproc-dev libavutil-dev libavresample-dev libavformat-dev libavfilter-extra libavfilter-dev libavdevice-dev libavcodec-extra libavcodec-dev ffmpeg git cmake libvulkan-dev gcc-10 gcc-10-base gcc-10-doc g++-10 libopenal-dev
script:
- mkdir build && cd build - mkdir build && cd build
- cmake -DCMAKE_C_COMPILER=/usr/bin/gcc-10 -DCMAKE_CXX_COMPILER=/usr/bin/g++-10 -DCMAKE_BUILD_TYPE=Debug .. && cmake --build . -j4 - cmake -DCMAKE_C_COMPILER=/usr/bin/gcc-10 -DCMAKE_CXX_COMPILER=/usr/bin/g++-10 -DCMAKE_BUILD_TYPE=Debug .. && cmake --build . -j4
artifacts:
paths:
- build/AVQt/libAVQt.so
- AVQt/
expire_in: 1 week
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment