Skip to content

use other mingw package #22

use other mingw package

use other mingw package #22

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: windows-2022,
COMPILER_ID: mingw64,
CC_COMPILER_PACKAGE: "",
CXX_COMPILER_PACKAGE: "",
CC_COMPILER: cc,
CXX_COMPILER: c++,
TOOLCHAIN_FILE: "",
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