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

[New Feature] Timeout-capable channels #51

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
CI/CD bump to GCC12
  • Loading branch information
dario-loi committed Jan 9, 2025
commit 76775cb7a1d0dad4e32a5a8b741811af953172c9
10 changes: 10 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Install GCC 12
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y gcc-12 g++-12 cmake
Comment on lines +53 to +54
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By removing the apt-get call I get:

| update-alternatives: error: alternative path /usr/bin/gcc-12 doesn't exist
[build/Ubuntu 22.04 GCC (Debug)-2    ]   ❌  Failure - Main Install GCC 12

I am honestly not familiar with Ubuntu so maybe I am not doing this correctly.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you tried this locally, maybe you don't have GCC 12 already installed. On the GitHub runner, I see 12 is already installed, but not used as default. So just try it here without apt-get update and install.

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
gcc --version
g++ --version

- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
Expand Down
Loading