Skip to content

Commit

Permalink
test build package
Browse files Browse the repository at this point in the history
  • Loading branch information
pantor committed Sep 5, 2024
1 parent 801c5f6 commit b860bd3
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [push, pull_request]

jobs:
build:
build-and-test:
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -18,9 +18,6 @@ jobs:
- name: Get cross-platform /dev/null for hidden output
run: echo "HIDDEN=$(python3 -c "import os; print(os.devnull)")" >> $GITHUB_ENV

- name: Install pybind11
run: git clone --depth 1 --branch v2.13.1 https://github.com/pybind/pybind11.git

- name: Install valgrind
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y valgrind
Expand Down Expand Up @@ -63,6 +60,29 @@ jobs:
ctest --test-dir ./build -T memcheck
build-package:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Configure and make
run: |
cmake -B build
cmake --build build -j2 -- package
- name: Install package
working-directory: build
run: apt install ./ruckig-*.deb

- name: Test building examples
working-directory: examples
run: |
mv CMakeLists-installed.txt CMakeLists.txt
cmake -B build
cmake --build build -j2
lint-python:
runs-on: ubuntu-latest

Expand Down

0 comments on commit b860bd3

Please sign in to comment.