Skip to content

Commit

Permalink
Replace wget with curl
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-r-thorpe committed Dec 4, 2024
1 parent ef7bd9a commit 65af82d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -667,15 +667,14 @@ jobs:
echo "${{ matrix.os }}"
if [[ "${{ matrix.os }}" == "ubuntu-14.04" ]]; then
# Install CMake
wget http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz
tar -xvzf cmake-3.24.2.tar.gz
curl -L http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz -s | tar -xvzf
cd cmake-3.24.2/
./configure
make
make install
sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
# Install ninja
wget https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip
curl -L https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip -s
sudo unzip ninja-linux.zip -d /usr/local/bin/
sudo update-alternatives --install /usr/bin/ninja ninja /usr/local/bin/ninja 1 --force
fi
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/src/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,14 @@ jobs:
echo "${{ matrix.os }}"
if [[ "${{ matrix.os }}" == "ubuntu-14.04" ]]; then
# Install CMake
wget http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz
tar -xvzf cmake-3.24.2.tar.gz
curl -L http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz -s | tar -xvzf
cd cmake-3.24.2/
./configure
make
make install
sudo update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
# Install ninja
wget https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip
curl -L https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip -s
sudo unzip ninja-linux.zip -d /usr/local/bin/
sudo update-alternatives --install /usr/bin/ninja ninja /usr/local/bin/ninja 1 --force
fi
Expand Down

0 comments on commit 65af82d

Please sign in to comment.