Skip to content

10.0.0

10.0.0 #88

Workflow file for this run

name: Build
on:
push:
pull_request:
release:
types:
- created
jobs:
build_mingw_toolchain_msvcrt_linux_x86_64:
name: MinGW-w64 MSVCRT Linux x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Environment Setup
run: |
sudo apt-get install bison bzip2 flex g++ gzip pax build-essential gcc
- name: Build Toolchain
run: |
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="msvcrt"
BUILD_PLATFORM="linux"
BUILD_ARCH="x86_64"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
build_mingw_toolchain_msvcrt_linux_i686:
name: MinGW-w64 MSVCRT Linux i686
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Environment Setup
run: |
sudo apt-get install bison bzip2 flex g++ gzip pax build-essential gcc
- name: Build Toolchain
run: |
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="msvcrt"
BUILD_PLATFORM="linux"
BUILD_ARCH="i686"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
build_mingw_toolchain_ucrt_linux_x86_64:
name: MinGW-w64 UCRT Linux x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Environment Setup
run: |
sudo apt-get install bison bzip2 flex g++ gzip pax build-essential gcc
- name: Build Toolchain
run: |
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="ucrt"
BUILD_PLATFORM="linux"
BUILD_ARCH="x86_64"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
build_mingw_toolchain_ucrt_linux_i686:
name: MinGW-w64 UCRT Linux i686
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Environment Setup
run: |
sudo apt-get install bison bzip2 flex g++ gzip pax build-essential gcc
- name: Build Toolchain
run: |
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="ucrt"
BUILD_PLATFORM="linux"
BUILD_ARCH="i686"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
build_mingw_toolchain_msvcrt_mac_x86-64:
name: MinGW-w64 MSVCRT macOS x86_64
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build Toolchain
run: |
export MACOSX_DEPLOYMENT_TARGET="10.13"
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="msvcrt"
BUILD_PLATFORM="macos"
BUILD_ARCH="x86_64"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
build_mingw_toolchain_msvcrt_mac_i686:
name: MinGW-w64 MSVCRT macOS i686
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build Toolchain
run: |
export MACOSX_DEPLOYMENT_TARGET="10.13"
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="msvcrt"
BUILD_PLATFORM="macos"
BUILD_ARCH="i686"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
build_mingw_toolchain_ucrt_mac_x86-64:
name: MinGW-w64 UCRT macOS x86_64
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build Toolchain
run: |
export MACOSX_DEPLOYMENT_TARGET="10.13"
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="ucrt"
BUILD_PLATFORM="macos"
BUILD_ARCH="x86_64"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}
build_mingw_toolchain_ucrt_mac_i686:
name: MinGW-w64 UCRT macOS i686
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build Toolchain
run: |
export MACOSX_DEPLOYMENT_TARGET="10.13"
BUILD_PREFIX="mingw-w64-toolchain"
BUILD_VERSION="$(./mingw-w64-build --version | cut -d ' ' -f 2)"
BUILD_VERSION="${BUILD_VERSION:-0.0.0}"
BUILD_MSVCRT="ucrt"
BUILD_PLATFORM="macos"
BUILD_ARCH="i686"
BUILD_TUPLE="${BUILD_PREFIX}-${BUILD_VERSION}-${BUILD_MSVCRT}-${BUILD_PLATFORM}-${BUILD_ARCH}"
chmod +x mingw-w64-build
./mingw-w64-build --force --msvcrt="${BUILD_MSVCRT}" "${BUILD_ARCH}" "${BUILD_TUPLE}"
./mingw-w64-build "${BUILD_ARCH}".clean "${BUILD_TUPLE}"
./mingw-w64-build pkgclean "${BUILD_TUPLE}"
./mingw-w64-build --list > "${BUILD_TUPLE}"/versions.txt
tar -cvzf "${BUILD_TUPLE}".tar.gz "${BUILD_TUPLE}"
- name: Upload Release Asset
if: github.event_name == 'release'
uses: AButler/upload-release-assets@v2.0
with:
files: '*.tar.gz'
repo-token: ${{ secrets.GITHUB_TOKEN }}