User Collation #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master, dev ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: wxWidgets 3.2 | |
run: sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc | |
- name: add repository | |
run: sudo apt-add-repository 'deb http://repos.codelite.org/wx3.2/ubuntu/ jammy universe' | |
- name: apt update | |
run: sudo apt-get update | |
- name: Install tools and libs | |
run: sudo apt-get install build-essential git cmake firebird-dev libnotify-dev libwxgtk3.2unofficial-dev -y | |
- name: CMake | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
- name: Build | |
run: make | |
working-directory: ./build | |