Skip to content

Commit

Permalink
prepare release for clingo-5.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rkaminsk committed Feb 16, 2024
1 parent 849f282 commit 65e056a
Show file tree
Hide file tree
Showing 1,294 changed files with 495,595 additions and 6,599 deletions.
25 changes: 0 additions & 25 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,25 +0,0 @@
[submodule "clasp"]
path = clasp
url = https://github.com/potassco/clasp.git
branch = dev
[submodule "third_party/catch"]
path = third_party/catch
url = ../../catchorg/Catch2.git
[submodule "third_party/ordered-map"]
path = third_party/ordered-map
url = ../../Tessil/ordered-map.git
[submodule "third_party/hopscotch-map"]
path = third_party/hopscotch-map
url = ../../Tessil/hopscotch-map.git
[submodule "third_party/sparse-map"]
path = third_party/sparse-map
url = ../../Tessil/sparse-map.git
[submodule "third_party/optional"]
path = third_party/optional
url = ../../TartanLlama/optional.git
[submodule "third_party/variant"]
path = third_party/variant
url = ../../mpark/variant.git
[submodule "third_party/wide-integer"]
path = third_party/wide-integer
url = ../../ckormanyos/wide-integer.git
68 changes: 0 additions & 68 deletions TODO.md

This file was deleted.

1 change: 0 additions & 1 deletion clasp
Submodule clasp deleted from 3f3db1
62 changes: 62 additions & 0 deletions clasp/.github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: CI tests

on:
- push
- pull_request

jobs:
build:
name: clasp tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
include:
- os: 'ubuntu-latest'
generator: 'Ninja'
build_type: 'Debug'
- os: 'macos-latest'
generator: 'Ninja'
build_type: 'Debug'
- os: 'windows-latest'
generator: 'Visual Studio 17 2022'
build_type: 'Debug'

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: setup (ubuntu)
if: ${{ matrix.os == 'ubuntu-latest' }}
run:
sudo apt install ninja-build

- name: setup (macos)
if: ${{ matrix.os == 'macos-latest' }}
run: |
brew update
brew install ninja
- name: Configure
run: >
cmake
-G "${{ matrix.generator }}"
-B "${{github.workspace}}/build"
-DCMAKE_BUILD_TYPE="${{matrix.build_type}}"
-DCLASP_BUILD_TESTS="On"
-DLIB_POTASSCO_BUILD_TESTS="On"
-DCMAKE_CXX_STANDARD="14"
- name: Build
run: >
cmake
--build "${{github.workspace}}/build"
--config "${{matrix.build_type}}"
- name: Test
working-directory: ${{github.workspace}}/build
run: >
ctest
-C "${{matrix.build_type}}"
4 changes: 4 additions & 0 deletions clasp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.swp
build*
.vscode*
CMakeLists.txt.user
63 changes: 63 additions & 0 deletions clasp/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
sudo: false
language: cpp
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-4.9
- cmake
- cmake-data
env:
- COMPILER='g++-4.9'
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-5
- cmake
- cmake-data
env:
- COMPILER='g++-5'
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-8
- cmake
- cmake-data
env:
- COMPILER='g++-8'
- os: osx
osx_image: xcode8
env:
- COMPILER='clang++'

install:
- export CMAKE=cmake
- export CXX=$COMPILER
- $CMAKE --version
- $CXX --version
script:
- mkdir $CXX-mt && cd $CXX-mt
- $CMAKE -DCMAKE_CXX_COMPILER=$CXX -DCLASP_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Wall -Wextra" ../
- make -j3 && make test CTEST_OUTPUT_ON_FAILURE=1
- cd ../
- mkdir $CXX-st && cd $CXX-st
- $CMAKE -DCMAKE_CXX_COMPILER=$CXX -DCLASP_BUILD_TESTS=ON -DCLASP_BUILD_WITH_THREADS=OFF -DCMAKE_CXX_FLAGS="-Wall -Wextra" ../
- make -j3 && make test CTEST_OUTPUT_ON_FAILURE=1
- cd ../

Loading

0 comments on commit 65e056a

Please sign in to comment.