|
|
|
@ -2,14 +2,14 @@ version: 2 |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
linux_x86_64: |
|
|
|
linux_x86_64: |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: debian:stretch-backports |
|
|
|
- image: debian:buster |
|
|
|
working_directory: ~/repo |
|
|
|
working_directory: ~/repo |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- run: echo deb http://deb.debian.org/debian stretch-backports-sloppy main >> /etc/apt/sources.list.d/debian-backports.list |
|
|
|
- run: echo deb http://deb.debian.org/debian buster-backports main >> /etc/apt/sources.list.d/debian-backports.list |
|
|
|
- run: apt-get update -y |
|
|
|
- run: apt-get update -y |
|
|
|
- run: apt-get install -y g++ libsdl2-dev libbz2-dev git rpm wget smpq |
|
|
|
- run: apt-get install -y -t 'buster-backports*' cmake |
|
|
|
- run: apt-get install -y -t 'stretch-backports*' cmake libsodium-dev libpng-dev |
|
|
|
- run: apt-get install -y g++ libsdl2-dev libbz2-dev git rpm wget smpq cmake libsodium-dev libpng-dev file |
|
|
|
- run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCPACK=ON -DCMAKE_INSTALL_PREFIX=/usr |
|
|
|
- run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCPACK=ON -DCMAKE_INSTALL_PREFIX=/usr |
|
|
|
- run: cmake --build build -j 2 --target package |
|
|
|
- run: cmake --build build -j 2 --target package |
|
|
|
- store_artifacts: {path: ./build/devilutionx, destination: devilutionx_linux_x86_64} |
|
|
|
- store_artifacts: {path: ./build/devilutionx, destination: devilutionx_linux_x86_64} |
|
|
|
|