fix ios compile error #6
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: tassl-1.1.1b GitHub Actions | |
on: | |
push: | |
paths-ignore: | |
- "docs/**" | |
- "Changelog.md" | |
- "README.md" | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
- "Changelog.md" | |
- "README.md" | |
release: | |
types: [published, created, edited] | |
env: | |
CCACHE_DIR: ${{ github.workspace }}/ccache | |
jobs: | |
build_with_clang: | |
name: build_with_clang | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: | | |
/home/runner/.hunter | |
/Users/runner/.hunter/ | |
ccache | |
key: hunter-clang-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
hunter-clang-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
hunter-clang-v1-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
hunter-clang-v1-notest-${{ runner.temp }}- | |
- name: install macOS dependencies | |
if: runner.os == 'macOS' | |
run: brew install ccache perl openssl | |
- name: configure | |
if: runner.os == 'macOS' | |
run: perl ./Configure darwin64-x86_64-cc | |
- name: compile | |
run: make -j2 | |
build_with_gcc: | |
name: build_with_gcc | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: | | |
/home/runner/.hunter | |
ccache | |
key: hunter-gcc-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
hunter-gcc-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
hunter-gcc-v1-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
hunter-gcc-v1-notest-${{ runner.temp }}- | |
- name: install Ubuntu dependencies | |
run: sudo apt install -y git curl openssl build-essential cmake ccache | |
- name: configure | |
run: bash config -Wl,--rpath=./ shared | |
- name: compile | |
run: make -j4 && sudo make install | |
build_with_centos: | |
name: build_with_centos | |
runs-on: ubuntu-latest | |
container: | |
image: docker.io/centos:7 | |
volumes: | |
- /github/home/.hunter:/github/home/.hunter | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: | | |
/home/runner/.hunter | |
/github/home/.hunter | |
ccache | |
key: hunter-centos-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
hunter-centos-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
hunter-centos-v1-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
hunter-centos-v1-notest-${{ runner.temp }}- | |
- name: install CentOS dependencies | |
run: | | |
yum install -y epel-release centos-release-scl | |
yum install -y git make gcc gcc-c++ glibc-static glibc-devel openssl cmake3 ccache devtoolset-7 libzstd-devel zlib-devel flex bison python-devel python3-devel && source /opt/rh/devtoolset-7/enable | |
- name: configure and compile | |
run: | | |
source /opt/rh/devtoolset-7/enable | |
bash config -Wl,--rpath=./ shared | |
make -j4 | |
build_with_windows: | |
name: build_with_windows | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-2019] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: | | |
/home/runner/.hunter | |
/github/home/.hunter | |
/Users/runner/.hunter | |
C:/.hunter/ | |
ccache | |
key: hunter-msvc-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
hunter-msvc-v1-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
hunter-msvc-v1-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
hunter-msvc-v1-notest-${{ runner.temp }}- | |
- name: Add MSbuild to PATH | |
uses: microsoft/[email protected] | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- uses: ilammy/setup-nasm@v1 | |
- uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: '5.34' | |
- name: compile | |
run: | | |
perl Configure VC-WIN64A | |
nmake |