mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-03 09:19:24 +00:00
CI: added Ubuntu 22.04
This commit is contained in:
parent
85abbdd699
commit
5f68b5923d
1 changed files with 6 additions and 6 deletions
12
.github/workflows/c-cpp.yml
vendored
12
.github/workflows/c-cpp.yml
vendored
|
@ -10,8 +10,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- {os: ubuntu-latest, c: gcc-11, cpp: g++-11}
|
- {os: ubuntu-20.04, c: gcc-11, cpp: g++-11}
|
||||||
- {os: ubuntu-18.04, c: gcc, cpp: g++}
|
- {os: ubuntu-22.04, c: gcc-12, cpp: g++-12}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
@ -51,15 +51,15 @@ jobs:
|
||||||
|
|
||||||
build-ubuntu-static-libs:
|
build-ubuntu-static-libs:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y git build-essential cmake autoconf libgss-dev gcc-11 g++-11
|
sudo apt install -y git build-essential cmake autoconf libgss-dev gcc-12 g++-12
|
||||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11
|
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 --slave /usr/bin/g++ g++ /usr/bin/g++-12 --slave /usr/bin/gcov gcov /usr/bin/gcov-12
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -115,7 +115,7 @@ jobs:
|
||||||
|
|
||||||
build-ubuntu-aarch64:
|
build-ubuntu-aarch64:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
Loading…
Reference in a new issue