Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github/workflows: fixing c++/cmake issues w/r/t evmone, evmc tests #508

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/evmc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,31 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Install cmake
run: |
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y cmake
cmake --version

- name: Install necessary GLIBCXX version
run: |
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
sudo apt-get update -y
sudo apt-get install -y gcc-9 g++-9
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 90
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90
g++ --version
gcc --version
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

- name: Get dependencies
run: |
go get -v -t -d ./...
git config --global --add safe.directory /home/ia/go/src/github.com/ethereum/go-ethereum/tests/evm-benchmarks
meowsbits marked this conversation as resolved.
Show resolved Hide resolved
git config --global --add safe.directory /home/ia/go/src/github.com/ethereum/go-ethereum/tests/testdata
git config --global --add safe.directory /home/ia/go/src/github.com/ethereum/go-ethereum/tests/testdata/LegacyTests
git submodule update --init --recursive
export GOBIN=${HOME}/go/bin
mkdir -p "${GOBIN}"
Expand Down
Empty file added cmake.sh
Empty file.