Skip to content

Commit

Permalink
Install automake
Browse files Browse the repository at this point in the history
  • Loading branch information
Elubrazione committed Sep 5, 2024
1 parent 2ccb47f commit 2e5937a
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Homebrew for MacOs
if: matrix.os == 'macos-latest'
run: |
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install autoconf
brew install automake
- name: Get resource of Swig
if: matrix.os == 'macos-latest'
run: |
Expand All @@ -55,17 +61,12 @@ jobs:
run: |
cd ./swig-3.0.12/
./Tools/pcre-build.sh
./autogen.sh || true
./autogen.sh
./configure
make
sudo make install
cd ..
rm -r ./swig-3.0.12
- name: Install Homebrew for MacOs to install libomp which is the dependence of lightgbm
if: matrix.python-version == '3.11'
run: |
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install libomp
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 2e5937a

Please sign in to comment.