Skip to content

Commit

Permalink
Convert linux workflow to use ninja.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Dec 19, 2024
1 parent 887a400 commit 1118e13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
# python-version: 3.11

- name: get dependencies
run: sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install git cmake python3-dev g++ libpcre3 libpcre3-dev libgmp3-dev libgtkmm-3.0-dev libboost-all-dev libgmp-dev libsqlite3-dev uuid-dev texlive-base libmpfr-dev libmpc-dev && python3 --version && which python3 && python3 -m pip install --upgrade pip && python3 -m pip install wheel && python3 -m pip install sympy gmpy2 numpy
run: sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get install ninja-build git cmake python3-dev g++ libpcre3 libpcre3-dev libgmp3-dev libgtkmm-3.0-dev libboost-all-dev libgmp-dev libsqlite3-dev uuid-dev texlive-base libmpfr-dev libmpc-dev && python3 --version && which python3 && python3 -m pip install --upgrade pip && python3 -m pip install wheel && python3 -m pip install sympy gmpy2 numpy

- name: configure
run: mkdir build && cd build && cmake -DENABLE_MATHEMATICA=OFF ..
run: mkdir build && cd build && cmake -G Ninja -DENABLE_MATHEMATICA=OFF ..

- name: make
run: cd build && make
- name: build
run: cd build && cmake --build

- name: make test
run: cd build && make test ARGS="-V"
- name: test
run: cd build && ctest ARGS="-V"

0 comments on commit 1118e13

Please sign in to comment.