Skip to content

Commit

Permalink
gitlab/ci: setting up environments for macos, linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Jul 13, 2024
1 parent c752899 commit 2146fb6
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,23 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: setup
- name: Setup environment
if: runner.os == 'macos'
run: |
brew update
brew install autoconf automake
brew install autoconf automake pybind11 virtualenv
if: runner.os == 'Linux'
run: |
sudo apt-get install -y --no-install-recommends build-essential pybind11-dev virtualenv
#- name: Setup libfec
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install

- name: Setup pybind-dev (Linux)
if: runner.os == 'Linux'
run: sudo apt-get install pybind11-dev

- name: Setup pybind-dev (macOS)
if: runner.os == 'macOS'
run: brew install pybind11

- name: Setup python dependencies (pip)
run: sudo -H python3 -m pip install pybind11 numpy matplotlib
- name: Setup python virtual environment
run: |
virtualenv liquid
source liquid/bin/activate
pip install pybind11 numpy matplotlib
- name: bootstrap
run: ./bootstrap.sh
Expand Down

0 comments on commit 2146fb6

Please sign in to comment.