Skip to content

Commit ff9187e

Browse files
vmatareVictor Mataré
authored andcommitted
try with eclipseclp
1 parent 1ca9e9d commit ff9187e

1 file changed

Lines changed: 23 additions & 6 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: CMake
22

33
on:
4-
push:
5-
branches: [ "master" ]
6-
pull_request:
7-
branches: [ "master" ]
4+
workflow_dispatch:
5+
#push:
6+
# branches: [ "master" ]
7+
#pull_request:
8+
# branches: [ "master" ]
89

910
env:
1011
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@@ -16,17 +17,33 @@ jobs:
1617
# You can convert this to a matrix build if you need cross-platform coverage.
1718
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
1819
runs-on: ubuntu-latest
20+
21+
env:
22+
VERSION: 6.1_229
1923

2024
steps:
2125
- uses: actions/checkout@v3
2226

2327
- name: install-deps
24-
run: sudo apt install libboost-all-dev
28+
run: sudo apt install libboost-all-dev wget
29+
30+
- name: install eclipse-clp
31+
run: |
32+
wget https://github.com/vmatare/eclipseclp/blob/main/eclipse_basic-$VERSION.tgz?raw=true \
33+
-O eclipse_basic.tar.gz
34+
mkdir eclipse
35+
tar -C eclipse -xzf eclipse_basic.tar.gz
36+
( cd eclipse; echo -e "\n\n\n\n\n\n\n" | ./RUNME )
2537
2638
- name: Configure CMake
2739
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
2840
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
29-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_READYLOG_SEMANTICS=FALSE -DBUILD_TESTING=FALSE
41+
run: |
42+
export PATH=$PATH:$PWD/eclipse/bin/x86_64_linux/eclipse
43+
cmake -B ${{github.workspace}}/build \
44+
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} \
45+
-DBUILD_READYLOG_SEMANTICS=TRUE \
46+
-DBUILD_TESTING=TRUE \
3047
3148
- name: Build
3249
# Build your program with the given configuration

0 commit comments

Comments
 (0)