fix multicore #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build libcurl | |
on: | |
push: | |
paths: | |
- .github/actions/build-package/action.yaml | |
- .github/workflows/build-libcurl.yaml | |
- packages/libcurl/** | |
- build.py | |
- scripts/tools.py | |
jobs: | |
build: | |
runs-on: ${{ matrix.cfg.os }} | |
env: | |
PACKAGE: libcurl | |
strategy: | |
fail-fast: false | |
matrix: | |
cfg: | |
- { os: ubuntu-20.04, | |
COMPILER_ID: gcc7, | |
CC_COMPILER_PACKAGE: gcc-7, | |
CXX_COMPILER_PACKAGE: g++-7, | |
CC_COMPILER: gcc-7, | |
CXX_COMPILER: g++-7, | |
TOOLCHAIN_FILE: "", | |
ARCHITECTURE: x64 | |
} | |
- { os: ubuntu-20.04, | |
COMPILER_ID: clang7, | |
CC_COMPILER_PACKAGE: clang-7, | |
CXX_COMPILER_PACKAGE: clang-7, | |
CC_COMPILER: clang-7, | |
CXX_COMPILER: clang++-7, | |
TOOLCHAIN_FILE: "", | |
ARCHITECTURE: x64 | |
} | |
- { os: ubuntu-20.04, | |
COMPILER_ID: mingw64, | |
CC_COMPILER_PACKAGE: gcc-mingw-w64-x86-64, | |
CXX_COMPILER_PACKAGE: g++-mingw-w64-x86-64, | |
CC_COMPILER: x86_64-w64-mingw32-gcc, | |
CXX_COMPILER: x86_64-w64-mingw32-g++, | |
TOOLCHAIN_FILE: "toolchains/mingw-linux.cmake", | |
ARCHITECTURE: x64 | |
} | |
- { os: windows-2022, | |
COMPILER_ID: msvc, | |
CC_COMPILER_PACKAGE: msvc, | |
CXX_COMPILER_PACKAGE: msvc, | |
CC_COMPILER: msvc, | |
CXX_COMPILER: msvc, | |
TOOLCHAIN_FILE: "", | |
ARCHITECTURE: x64 | |
} | |
# - { os: windows, architecture: x64, compiler: mingw } | |
# - { os: windows, architecture: x64, compiler: msys2 } | |
# - { os: windows, architecture: x64, compiler: clang } | |
# - { os: linux, architecture: x64, compiler: gcc } | |
# - { os: linux, architecture: x64, compiler: clang } | |
# - { os: linux, architecture: x64, compiler: mingw } | |
# - { os: linux, architecture: arm64, compiler: gcc } | |
# - { os: linux, architecture: arm64, compiler: clang } | |
# - { os: linux, architecture: arm64, compiler: mingw } | |
# - { os: android, architecture: arm64, compiler: gcc } | |
# - { os: android, architecture: arm64, compiler : clang } | |
# - { os: emscripten, architecture: emscripten, compiler: emscripten } | |
# - { os: macos, architecture: x64, compiler: gcc } | |
# - { os: macos, architecture: x64, compiler: clang } | |
# - { os: macos, architecture: arm64, compiler: gcc } | |
# - { os: macos, architecture: arm64, compiler: clang } | |
# - { os: tvos, architecture: x64, compiler: gcc } | |
# - { os: tvos, architecture: x64, compiler: clang } | |
# - { os: tvos, architecture: arm64, compiler: gcc } | |
# - { os: tvos, architecture: arm64, compiler: clang } | |
# - { os: ios, architecture: arm64, compiler: gcc } | |
# - { os: ios, architecture: arm64, compiler: clang } | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build package | |
uses: ./.github/actions/build-package | |