Skip to content

Commit 585c3b4

Browse files
committed
fix workflows
1 parent 72e0786 commit 585c3b4

2 files changed

Lines changed: 116 additions & 44 deletions

File tree

.github/workflows/c-cpp.yml

100644100755
Lines changed: 75 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,17 @@ jobs:
1313
ubuntu_14:
1414
name: ubuntu_14
1515
runs-on: ubuntu-20.04
16-
container: ubuntu:14.04
16+
container:
17+
image: ubuntu:14.04
18+
volumes:
19+
- /node20217:/node20217:rw,rshared
20+
- /node20217:/__e/node20:ro,rshared
1721
steps:
22+
- name: nodejs
23+
run: |
24+
apt-get install -y wget xz-utils
25+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
26+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
1827
- uses: actions/checkout@v2
1928
- name: install packages
2029
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev gcc g++ autoconf automake make
@@ -27,8 +36,17 @@ jobs:
2736
ubuntu_16:
2837
name: Ubuntu 16
2938
runs-on: ubuntu-20.04
30-
container: ubuntu:16.04
39+
container:
40+
image: ubuntu:16.04
41+
volumes:
42+
- /node20217:/node20217:rw,rshared
43+
- /node20217:/__e/node20:ro,rshared
3144
steps:
45+
- name: nodejs
46+
run: |
47+
apt-get install -y wget xz-utils
48+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
49+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
3250
- uses: actions/checkout@v2
3351
- name: install packages
3452
run: apt-get update && apt-get install -y zlib1g-dev gcc g++ autoconf automake make
@@ -39,8 +57,17 @@ jobs:
3957
ubuntu_16_cmake:
4058
name: Ubuntu 16 cmake
4159
runs-on: ubuntu-20.04
42-
container: ubuntu:16.04
60+
container:
61+
image: ubuntu:16.04
62+
volumes:
63+
- /node20217:/node20217:rw,rshared
64+
- /node20217:/__e/node20:ro,rshared
4365
steps:
66+
- name: nodejs
67+
run: |
68+
apt-get install -y wget xz-utils
69+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
70+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
4471
- uses: actions/checkout@v2
4572
- name: install packages
4673
run: apt-get update && apt-get install -y zlib1g-dev gcc g++ autoconf automake make cmake
@@ -49,8 +76,17 @@ jobs:
4976
ubuntu_18:
5077
name: Ubuntu 18
5178
runs-on: ubuntu-20.04
52-
container: ubuntu:18.04
79+
container:
80+
image: ubuntu:18.04
81+
volumes:
82+
- /node20217:/node20217:rw,rshared
83+
- /node20217:/__e/node20:ro,rshared
5384
steps:
85+
- name: nodejs
86+
run: |
87+
apt-get install -y wget xz-utils
88+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
89+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
5490
- uses: actions/checkout@v2
5591
- name: install packages
5692
run: apt-get update && apt-get install -y zlib1g-dev valgrind gcc g++ autoconf automake make
@@ -65,8 +101,17 @@ jobs:
65101
ubuntu_18_zstd:
66102
name: Ubuntu 18 with zstd
67103
runs-on: ubuntu-20.04
68-
container: ubuntu:18.04
104+
container:
105+
image: ubuntu:18.04
106+
volumes:
107+
- /node20217:/node20217:rw,rshared
108+
- /node20217:/__e/node20:ro,rshared
69109
steps:
110+
- name: nodejs
111+
run: |
112+
apt-get install -y wget xz-utils
113+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
114+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
70115
- uses: actions/checkout@v2
71116
- name: install packages
72117
run: apt-get update && apt-get install -y zlib1g-dev libzstd-dev valgrind gcc g++ autoconf automake make
@@ -146,20 +191,31 @@ jobs:
146191
run: make test
147192
- name: make mt
148193
run: examples/mt/build.sh
149-
os_x_12:
150-
name: OSX 12
151-
runs-on: macos-12
152-
steps:
153-
- uses: actions/checkout@v2
154-
- name: build
155-
run: make -j8
156-
- name: test
157-
run: make test
158-
- name: examples
159-
run: make examples
160-
os_x_12_zstd:
161-
name: OSX 12 zstd
162-
runs-on: macos-12
194+
# os_x_12:
195+
# name: OSX 12
196+
# runs-on: macos-12
197+
# steps:
198+
# - uses: actions/checkout@v2
199+
# - name: build
200+
# run: make -j8
201+
# - name: test
202+
# run: make test
203+
# - name: examples
204+
# run: make examples
205+
os_x_13:
206+
name: OSX 13
207+
runs-on: macos-13
208+
steps:
209+
- uses: actions/checkout@v2
210+
- name: build
211+
run: make -j8
212+
- name: test
213+
run: make test
214+
- name: examples
215+
run: make examples
216+
os_x_13_zstd:
217+
name: OSX 13 zstd
218+
runs-on: macos-13
163219
steps:
164220
- uses: actions/checkout@v2
165221
- name: install packages
@@ -168,17 +224,6 @@ jobs:
168224
run: make -j8 zstd=1
169225
- name: test
170226
run: make test zstd=1
171-
os_x_13:
172-
name: OSX 13
173-
runs-on: macos-13
174-
steps:
175-
- uses: actions/checkout@v2
176-
- name: build
177-
run: make -j8
178-
- name: test
179-
run: make test
180-
- name: examples
181-
run: make examples
182227
os_x_14:
183228
name: OSX 14
184229
runs-on: macos-14

.github/workflows/python.yml

100644100755
Lines changed: 41 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,17 @@ jobs:
1313
ubuntu_14:
1414
name: pyslow5 Ubuntu_14
1515
runs-on: ubuntu-20.04
16-
container: ubuntu:14.04
16+
container:
17+
image: ubuntu:14.04
18+
volumes:
19+
- /node20217:/node20217:rw,rshared
20+
- /node20217:/__e/node20:ro,rshared
1721
steps:
22+
- name: nodejs
23+
run: |
24+
apt-get install -y wget xz-utils
25+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
26+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
1827
- uses: actions/checkout@v2
1928
- name: install packages
2029
run: sudo apt-get update && sudo apt-get install -y zlib1g-dev python3-pip wget && wget --no-check-certificate https://bootstrap.pypa.io/pip/3.4/get-pip.py && python3 get-pip.py && pip3 install setuptools cython "numpy>=1.13.3,<1.15.0" --user
@@ -27,8 +36,17 @@ jobs:
2736
ubuntu_16:
2837
name: pyslow5 Ubuntu 16
2938
runs-on: ubuntu-20.04
30-
container: ubuntu:16.04
39+
container:
40+
image: ubuntu:16.04
41+
volumes:
42+
- /node20217:/node20217:rw,rshared
43+
- /node20217:/__e/node20:ro,rshared
3144
steps:
45+
- name: nodejs
46+
run: |
47+
apt-get install -y wget xz-utils
48+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
49+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
3250
- uses: actions/checkout@v2
3351
- name: install packages
3452
run: apt-get update && apt-get install -y lsb-release zlib1g-dev python3-pip python3-setuptools && pip3 install cython "numpy>=1.14.5,<1.19.0"
@@ -41,8 +59,17 @@ jobs:
4159
pyslow5_ubuntu_18:
4260
name: pyslow5 Ubuntu 18
4361
runs-on: ubuntu-20.04
44-
container: ubuntu:18.04
62+
container:
63+
image: ubuntu:18.04
64+
volumes:
65+
- /node20217:/node20217:rw,rshared
66+
- /node20217:/__e/node20:ro,rshared
4567
steps:
68+
- name: nodejs
69+
run: |
70+
apt-get install -y wget xz-utils
71+
wget https://unofficial-builds.nodejs.org/download/release/v20.9.0/node-v20.9.0-linux-x64-glibc-217.tar.xz
72+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
4673
- uses: actions/checkout@v2
4774
- name: install packages
4875
run: apt-get update && apt-get install -y zlib1g-dev python3-pip && pip3 install setuptools cython numpy
@@ -101,17 +128,17 @@ jobs:
101128
ldd --version && gcc --version && python3 --version &&
102129
make pyslow5 &&
103130
python3 -m unittest -v python/test.py"
104-
os_x_12:
105-
name: pyslow5 mac os 12
106-
runs-on: macos-12
107-
steps:
108-
- uses: actions/checkout@v2
109-
- name: install packages
110-
run: pip3 install numpy setuptools
111-
- name: build
112-
run: make pyslow5
113-
- name: test
114-
run: python3 -m unittest -v python/test.py
131+
# os_x_12:
132+
# name: pyslow5 mac os 12
133+
# runs-on: macos-12
134+
# steps:
135+
# - uses: actions/checkout@v2
136+
# - name: install packages
137+
# run: pip3 install numpy setuptools
138+
# - name: build
139+
# run: make pyslow5
140+
# - name: test
141+
# run: python3 -m unittest -v python/test.py
115142
os_x_13:
116143
name: pyslow5 mac os 13
117144
runs-on: macos-13

0 commit comments

Comments
 (0)