Skip to content

Commit 1801d75

Browse files
Synchronize changes from 1.6 master branch [ci skip]
2a3e298 Fix defaults for macOS in linux-build.sh cab4665 Remove old code in Docker image workflow
2 parents 6adc342 + 2a3e298 commit 1801d75

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/dockerimage.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,10 @@ on:
88
paths:
99
- '.github/workflows/build.yaml'
1010
- '.github/workflows/dockerimage.yaml'
11-
- '/utils/docker/**'
11+
- 'utils/docker/**'
1212

1313
jobs:
1414
build:
15-
strategy:
16-
matrix:
17-
include:
18-
- tag: latest
19-
dockerfile: Dockerfile
20-
- tag: i386
21-
dockerfile: Dockerfile.i386
22-
- tag: armhf
23-
dockerfile: Dockerfile.armhf
24-
- tag: arm64
25-
dockerfile: Dockerfile.arm64
2615
if: github.event.repository.fork == false
2716
runs-on: ubuntu-latest
2817
steps:

linux-build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ fi
1616
# Number of cores
1717
if [ "$(uname)" == "Darwin" ]; then
1818
NUM_CORES=$(sysctl -n hw.ncpu)
19+
: ${GCC_PREFIX:=}
20+
: ${AR:=ar}
21+
: ${CC:=gcc}
22+
: ${CXX:=g++}
1923
else
2024
NUM_CORES=$(grep -c ^processor /proc/cpuinfo)
2125
fi

0 commit comments

Comments
 (0)