1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
version: 2
jobs:
linux:
docker:
- image: ubuntu:bionic
working_directory: ~/repo
steps:
- run: apt-get update -y
- run: apt-get -y install gnupg2
- run: apt-get install -y software-properties-common
- run: apt-key adv --fetch-keys https://repos.codelite.org/CodeLite.asc
- run: apt-add-repository 'deb https://repos.codelite.org/wx3.1.3/ubuntu/ bionic universe'
- run: apt-get update -y
- run: apt-get install -y pkg-config build-essential git cmake libgtk-3-dev libsqlite3-dev libssh-dev libedit-dev libhunspell-dev clang-format-8 xterm libnotify4
- run: apt-get install -y libwxbase3.1-0-unofficial3 libwxbase3.1unofficial3-dev libwxgtk3.1-0-unofficial3 libwxgtk3.1unofficial3-dev wx3.1-headers wx-common
- checkout
- run: mkdir build-release
- run: cd build-release && cmake .. -DCMAKE_BUILD_TYPE=Release -DMAKE_DEB=1 -DCOPY_WX_LIBS=1 && make -j4
- run: cd build-release && make package
- run: mkdir deb && mv build-release/*.deb deb
- store_artifacts: {path: ./deb}
workflows:
version: 2
testflow:
jobs:
- linux
|