Skip to content

Commit ddf9bff

Browse files
authored
Update ci.yml
1 parent 9c76cb9 commit ddf9bff

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: mkdir src/main/resources
2424

2525
- name: Build c-blosc (Windows)
26-
if: ${{ matrix.os == 'windows' }}
26+
if: ${{ matrix.os == 'windows-latest' }}
2727
run: |
2828
cd c-blosc
2929
mkdir build
@@ -32,7 +32,7 @@ jobs:
3232
cmake --build . -j8 --config Release
3333
3434
- name: Build bloscjni (Windows)
35-
if: ${{ matrix.os == 'windows' }}
35+
if: ${{ matrix.os == 'windows-latest' }}
3636
shell: bash
3737
run: |
3838
cd bloscjni
@@ -42,7 +42,7 @@ jobs:
4242
bloscjni.c ..\\c-blosc\\build\\blosc\\libblosc.a
4343
4444
- name: Build c-blosc (Mac arm64)
45-
if: ${{ matrix.os == 'macos' }}
45+
if: ${{ matrix.os == 'macos-12' }}
4646
run: |
4747
cd c-blosc
4848
mkdir build-arm64
@@ -57,7 +57,7 @@ jobs:
5757
cmake --build . -j8 --config Release --target blosc_static
5858
5959
- name: Build c-blosc (Mac x86_64)
60-
if: ${{ matrix.os == 'macos' }}
60+
if: ${{ matrix.os == 'macos-12' }}
6161
run: |
6262
cd c-blosc
6363
mkdir build-x86_64
@@ -69,7 +69,7 @@ jobs:
6969
cmake --build . -j8 --config Release --target blosc_static
7070
7171
- name: Build bloscjni (Mac universal)
72-
if: ${{ matrix.os == 'macos' }}
72+
if: ${{ matrix.os == 'macos-12' }}
7373
run: |
7474
cd bloscjni
7575
cc \
@@ -89,13 +89,13 @@ jobs:
8989
rm ../src/main/resources/libbloscjni-*.dylib
9090
9191
- name: Build CentOS7 docker (Linux)
92-
if: ${{ matrix.os == 'ubuntu' }}
92+
if: ${{ matrix.os == 'ubuntu-latest' }}
9393
run: |
9494
cd bloscjni
9595
docker build -t centos7-jdk8 -f Dockerfile.centos7 .
9696
9797
- name: Build c-blosc (Linux)
98-
if: ${{ matrix.os == 'ubuntu' }}
98+
if: ${{ matrix.os == 'ubuntu-latest' }}
9999
run: |
100100
docker run -i -v$(pwd):/app -w /app/c-blosc centos7-jdk8 bash << EOF
101101
mkdir build
@@ -105,7 +105,7 @@ jobs:
105105
EOF
106106
107107
- name: Build bloscjni (Linux)
108-
if: ${{ matrix.os == 'ubuntu' }}
108+
if: ${{ matrix.os == 'ubuntu-latest' }}
109109
run: |
110110
docker run -i -v$(pwd):/app -w /app centos7-jdk8 bash <<EOF
111111
cd bloscjni

0 commit comments

Comments
 (0)