Temporary pqxx testing #13
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
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
timeout-minutes: 45 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install clang dev | |
run: sudo apt install libclang-dev | |
# - name: Set up GCC | |
# uses: egor-tensin/setup-gcc@v1 | |
# with: | |
# version: 11 | |
# platform: x64 | |
- name: Install latest cmake and ninja | |
uses: lukka/get-cmake@latest | |
- name: Install Conan package manager | |
uses: turtlebrowser/get-conan@main | |
with: | |
version: 2.5.0 | |
- name: Create default Conan profile | |
run: conan profile detect | |
- name: Replace default Conan profile | |
run: cp conan_profile/default ~/.conan2/profiles/default | |
- name: Install | |
run: ./project.py --install | |
- name: Build | |
run: ./project.py --build | |
- name: Run | |
run: ./project.py --run |