Skip to content

Commit 3d5bf32

Browse files
authored
Update c-cpp.yml
1 parent e3c263d commit 3d5bf32

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
ubuntu_14:
1414
name: ubuntu_14
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-24.04
1616
container:
1717
image: ubuntu:14.04
1818
volumes:
@@ -35,7 +35,7 @@ jobs:
3535
run: make test
3636
ubuntu_16:
3737
name: Ubuntu 16
38-
runs-on: ubuntu-20.04
38+
runs-on: ubuntu-24.04
3939
container:
4040
image: ubuntu:16.04
4141
volumes:
@@ -56,7 +56,7 @@ jobs:
5656
run: make test
5757
ubuntu_16_cmake:
5858
name: Ubuntu 16 cmake
59-
runs-on: ubuntu-20.04
59+
runs-on: ubuntu-24.04
6060
container:
6161
image: ubuntu:16.04
6262
volumes:
@@ -75,7 +75,7 @@ jobs:
7575
run: mkdir build && cd build && cmake -DSLOW5_LINK_STATIC=ON -DSLOW5_USE_ZSTD=OFF -DSLOW5_ENABLE_MT=OFF .. && make -j8
7676
ubuntu_18:
7777
name: Ubuntu 18
78-
runs-on: ubuntu-20.04
78+
runs-on: ubuntu-24.04
7979
container:
8080
image: ubuntu:18.04
8181
volumes:
@@ -100,7 +100,7 @@ jobs:
100100
run: make examples
101101
ubuntu_18_zstd:
102102
name: Ubuntu 18 with zstd
103-
runs-on: ubuntu-20.04
103+
runs-on: ubuntu-24.04
104104
container:
105105
image: ubuntu:18.04
106106
volumes:
@@ -123,11 +123,13 @@ jobs:
123123
run: ./test/test.sh mem
124124
ubuntu_20:
125125
name: Ubuntu 20
126-
runs-on: ubuntu-20.04
126+
runs-on: ubuntu-24.04
127+
container:
128+
image: ubuntu:20.04
127129
steps:
128130
- uses: actions/checkout@v2
129131
- name: install packages
130-
run: sudo apt-get update && sudo apt-get install zlib1g-dev
132+
run: apt-get update && apt-get install zlib1g-dev gcc g++ autoconf automake make clang
131133
- name: build-gcc
132134
run: make -j8
133135
- name: test-gcc
@@ -138,7 +140,9 @@ jobs:
138140
run: make test
139141
ubuntu_20_icc:
140142
name: Ubuntu 20 icc
141-
runs-on: ubuntu-20.04
143+
runs-on: ubuntu-24.04
144+
container:
145+
image: ubuntu:20.04
142146
steps:
143147
- uses: actions/checkout@v2
144148
with:
@@ -152,7 +156,7 @@ jobs:
152156
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
153157
sudo apt-get update
154158
- name: install packages
155-
run: sudo apt-get install -y zlib1g-dev libzstd-dev intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
159+
run: apt-get update && apt-get install -y zlib1g-dev gcc g++ autoconf automake make libzstd-dev intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic
156160
- name: Setup Intel oneAPI environment
157161
run: |
158162
source /opt/intel/oneapi/setvars.sh

0 commit comments

Comments
 (0)