-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install CMake and ninja directly on Ubuntu 14.04
- Loading branch information
1 parent
6cda6c7
commit ef7bd9a
Showing
3 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,10 +124,6 @@ jobs: | |
run: | | ||
pip install conan~=2.4.1 | ||
- name: 'ubuntu-14.04: install cmake' | ||
if: matrix.os == 'ubuntu-14.04' | ||
uses: lukka/[email protected] | ||
|
||
- name: install cmake | ||
if: matrix.os != 'ubuntu-14.04' | ||
uses: lukka/[email protected] | ||
|
@@ -670,10 +666,18 @@ jobs: | |
echo "`pwd`/node-v12.16.2-linux-x64/bin" >> $GITHUB_PATH | ||
echo "${{ matrix.os }}" | ||
if [[ "${{ matrix.os }}" == "ubuntu-14.04" ]]; then | ||
echo "Rename node20" | ||
cd $RUNNER_HOME/actions-runner/externals | ||
mv node20 node20.bak | ||
ln -s node16 node20 | ||
# Install CMake | ||
wget 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 | ||
wget 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 | ||
- name: setup google credentials | ||
|
@@ -690,10 +694,6 @@ jobs: | |
run: | | ||
pip install conan~=2.4.1 | ||
- name: 'ubuntu-14.04: install cmake' | ||
if: matrix.os == 'ubuntu-14.04' | ||
uses: lukka/[email protected] | ||
|
||
- name: install cmake | ||
if: matrix.os != 'ubuntu-14.04' | ||
uses: lukka/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,6 @@ | |
run: | | ||
pip install conan~=2.4.1 | ||
- name: 'ubuntu-14.04: install cmake' | ||
if: matrix.os == 'ubuntu-14.04' | ||
uses: lukka/[email protected] | ||
|
||
- name: install cmake | ||
if: matrix.os != 'ubuntu-14.04' | ||
uses: lukka/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters