-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c88d29
commit 97bc781
Showing
1 changed file
with
12 additions
and
14 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Build and test skale-consensus | |
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
|
@@ -24,9 +24,9 @@ jobs: | |
- name: Free disk space | ||
run: | | ||
sudo apt-get remove -yq cmake libjsoncpp-dev aria2 ansible azure-cli shellcheck rpm xorriso zsync \ | ||
clang-6.0 lldb-6.0 lld-6.0 clang-format-6.0 clang-8 lldb-8 lld-8 clang-format-8 \ | ||
clang-9 lldb-9 lld-9 clangd-9 clang-format-9 dotnet-sdk-3.0 dotnet-sdk-3.1=3.1.101-1 \ | ||
esl-erlang firefox g++-8 g++-9 gfortran-8 gfortran-9 google-chrome-stable \ | ||
clang-6.0 lldb-6.0 lld-6.0 clang-8 lldb-8 lld-8 \ | ||
clang-9 lldb-9 lld-9 clangd-9 clang-format-14 dotnet-sdk-3.0 dotnet-sdk-3.1=3.1.101-1 \ | ||
esl-erlang firefox g++-11 g++-11 gfortran-8 gfortran-9 google-chrome-stable \ | ||
|| true >/dev/null 2>&1; | ||
- name: Free more disk space | ||
|
@@ -75,7 +75,6 @@ jobs: | |
- name: try docker compose | ||
run: | | ||
# cd sgxwallet/run_sgx_sim && docker-compose pull && docker-compose up -d | ||
cd sgxwallet/run_sgx_sim | ||
echo " --------------------------- stopping sgx wallet ------------------------------------------------------------------------------------------------------ " | ||
docker-compose down | ||
|
@@ -114,23 +113,22 @@ jobs: | |
run: | | ||
sudo apt-get -y install software-properties-common; sudo apt-add-repository universe; \ | ||
sudo apt-get update; sudo apt-get -y install -y software-properties-common apt-utils libprocps-dev \ | ||
gcc-9 g++-9 valgrind gawk sed libffi-dev ccache libgoogle-perftools-dev flex \ | ||
bison yasm texinfo \ | ||
autotools-dev autogen automake autoconf m4 shtool pkg-config sed gawk yasm nasm \ | ||
gcc-11 g++-11 valgrind gawk sed libffi-dev ccache libgoogle-perftools-dev yasm texinfo \ | ||
autotools-dev autogen automake autoconf m4 shtool pkg-config gawk nasm \ | ||
python3 python3-pip \ | ||
libtool build-essential \ | ||
libgcrypt20-dev | ||
# python python-pip | ||
# python-is-python3 | ||
- name: Use g++-9 and gcov-9 by default | ||
- name: Use g++-11 and gcov-11 by default | ||
run: | | ||
echo "Updating all needed alternatives" | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9 | ||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 | ||
sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-9 9 | ||
sudo update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-9 9 | ||
sudo update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-9 9 | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 11 | ||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 11 | ||
sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-11 11 | ||
sudo update-alternatives --install /usr/bin/gcov-dump gcov-dump /usr/bin/gcov-dump-11 11 | ||
sudo update-alternatives --install /usr/bin/gcov-tool gcov-tool /usr/bin/gcov-tool-11 11 | ||
echo "Checking alternative for gcc" | ||
which gcc | ||
gcc --version | ||
|