Skip to content

Commit

Permalink
Test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fgyanz committed Oct 28, 2024
1 parent c41e6a7 commit 4c7094a
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# @file ci-tests.yml
---
name: klp-build tests

on: [push, pull_request]

jobs:
distribution-check:
runs-on: ubuntu-latest
container:
image: opensuse/tumbleweed:latest
steps:
- uses: actions/checkout@v1

- name: Install dependencies
run: zypper in -y awk python3-devel git make automake clang-devel clang bison autoconf-archive autoconf python3-pytest tox

- name: Download klp-ccp
run: git clone https://github.com/SUSE/klp-ccp

- name: Install klp-ccp
run: |
cd klp-ccp && mkdir config
aclocal
autoheader
automake --add-missing --foreign
autoconf
mkdir -p build && cd build
CXX=clang++ CXXFLAGS='-O0' ../configure
make && make install
- name: Run klp-build tests
run: make
env:
KLP_CCP_PYTHONPOLICY_PATH: klp-ccp/examples/policies:klp-ccp/lp-creation-python-policy

0 comments on commit 4c7094a

Please sign in to comment.