Skip to content

Commit

Permalink
Fix curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-r-thorpe committed Dec 4, 2024
1 parent bebb2d7 commit 3293b67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -667,15 +667,15 @@ jobs:
echo "${{ matrix.os }}"
if [[ "${{ matrix.os }}" == "ubuntu-14.04" ]]; then
# Install CMake
curl -L http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz -s
curl -OsL http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz
tar -xvzf cmake-3.24.2.tar.gz
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
curl -L https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip -s
curl -OsL https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip
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
4 changes: 2 additions & 2 deletions .github/workflows/src/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,15 +185,15 @@ jobs:
echo "${{ matrix.os }}"
if [[ "${{ matrix.os }}" == "ubuntu-14.04" ]]; then
# Install CMake
curl -L http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz -s
curl -OsL http://www.cmake.org/files/v3.24/cmake-3.24.2.tar.gz
tar -xvzf cmake-3.24.2.tar.gz
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
curl -L https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip -s
curl -OsL https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux.zip
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 3293b67

Please sign in to comment.