Skip to content

Commit

Permalink
Install Meson on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipen committed Mar 1, 2024
1 parent 4a0109e commit 19a563a
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ jobs:
distribution: zulu
java-version: 11

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install meson
run: pip install meson ninja

- name: Set up Gradle
uses: gradle/gradle-build-action@v2

Expand All @@ -27,10 +35,12 @@ jobs:

- name: Build MiniSat
working-directory: kotlin-satlib-jni
env:
CC: gcc
run: |
git clone --depth=1 https://github.com/Lipen/minisat solvers/minisat-src
cd solvers/minisat-src
meson setup builddir --buildtype release --strip
meson setup builddir --buildtype release --strip -v
meson compile -C builddir
meson install -C builddir --destdir ../install
Expand Down Expand Up @@ -136,6 +146,14 @@ jobs:
distribution: zulu
java-version: 11

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install meson
run: pip install meson ninja

- name: Set up Gradle
uses: gradle/gradle-build-action@v2

Expand All @@ -144,10 +162,12 @@ jobs:

- name: Build MiniSat
working-directory: kotlin-satlib-jni
env:
CC: gcc
run: |
git clone --depth=1 https://github.com/Lipen/minisat solvers/minisat-src
cd solvers/minisat-src
meson setup builddir --buildtype release --strip
meson setup builddir --buildtype release --strip -v
meson compile -C builddir
meson install -C builddir --destdir ../install
Expand Down

0 comments on commit 19a563a

Please sign in to comment.