update ver desc #10
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 & Release | |
on: [pull_request, push] | |
env: | |
PR_NUMBER: ${{ toJson(github.event.number) }} | |
jobs: | |
submodule_regression_check: | |
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id | |
name: Submodule Regression Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Submodule Regression Check | |
run: ./.cicd/submodule-regression-checker.sh | |
amazon_linux-2-build: | |
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id | |
name: Amazon_Linux 2 | Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Build | |
run: | | |
./.cicd/build.sh | |
tar -pczf build.tar.gz build | |
env: | |
IMAGE_TAG: amazonlinux-2 | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: amazon_linux-2-build | |
path: build.tar.gz | |
amazon_linux-2-unit-test: | |
name: Amazon_Linux 2 | Unit Test | |
runs-on: ubuntu-latest | |
needs: amazon_linux-2-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: amazon_linux-2-build | |
- name: Unit Test | |
run: | | |
tar -xzf amazon_linux-2-build/build.tar.gz | |
./.cicd/tests.sh | |
env: | |
IMAGE_TAG: amazonlinux-2 | |
amazon_linux-2-toolchain-test: | |
name: Amazon_Linux 2 | Toolchain Test | |
runs-on: ubuntu-latest | |
needs: amazon_linux-2-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: amazon_linux-2-build | |
- name: Toolchain Test | |
run: | | |
tar -xzf amazon_linux-2-build/build.tar.gz | |
./.cicd/toolchain-tests.sh | |
env: | |
IMAGE_TAG: amazonlinux-2 | |
centos-77-build: | |
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id | |
name: CentOS 7.7 | Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Build | |
run: | | |
./.cicd/build.sh | |
tar -pczf build.tar.gz build | |
env: | |
IMAGE_TAG: centos-7.7 | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: centos-77-build | |
path: build.tar.gz | |
centos-77-unit-test: | |
name: CentOS 7.7 | Unit Test | |
runs-on: ubuntu-latest | |
needs: centos-77-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: centos-77-build | |
- name: Unit Test | |
run: | | |
tar -xzf centos-77-build/build.tar.gz | |
./.cicd/tests.sh | |
env: | |
IMAGE_TAG: centos-7.7 | |
centos-77-toolchain-test: | |
name: CentOS 7.7 | Toolchain Test | |
runs-on: ubuntu-latest | |
needs: centos-77-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: centos-77-build | |
- name: Toolchain Test | |
run: | | |
tar -xzf centos-77-build/build.tar.gz | |
./.cicd/toolchain-tests.sh | |
env: | |
IMAGE_TAG: centos-7.7 | |
ubuntu-1604-build: | |
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id | |
name: Ubuntu 16.04 | Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Build | |
run: | | |
./.cicd/build.sh | |
tar -pczf build.tar.gz build | |
env: | |
IMAGE_TAG: ubuntu-16.04 | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: ubuntu-1604-build | |
path: build.tar.gz | |
ubuntu-1604-unit-test: | |
name: Ubuntu 16.04 | Unit Test | |
runs-on: ubuntu-latest | |
needs: ubuntu-1604-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: ubuntu-1604-build | |
- name: Unit Test | |
run: | | |
tar -xzf ubuntu-1604-build/build.tar.gz | |
./.cicd/tests.sh | |
env: | |
IMAGE_TAG: ubuntu-16.04 | |
ubuntu-1604-toolchain-test: | |
name: Ubuntu 16.04 | Toolchain Test | |
runs-on: ubuntu-latest | |
needs: ubuntu-1604-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: ubuntu-1604-build | |
- name: Toolchain Test | |
run: | | |
tar -xzf ubuntu-1604-build/build.tar.gz | |
./.cicd/toolchain-tests.sh | |
env: | |
IMAGE_TAG: ubuntu-16.04 | |
ubuntu-1804-build: | |
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id | |
name: Ubuntu 18.04 | Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Build | |
run: | | |
./.cicd/build.sh | |
tar -pczf build.tar.gz build | |
env: | |
IMAGE_TAG: ubuntu-18.04 | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: ubuntu-1804-build | |
path: build.tar.gz | |
ubuntu-1804-unit-test: | |
name: Ubuntu 18.04 | Unit Test | |
runs-on: ubuntu-latest | |
needs: ubuntu-1804-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: ubuntu-1804-build | |
- name: Unit Test | |
run: | | |
tar -xzf ubuntu-1804-build/build.tar.gz | |
./.cicd/tests.sh | |
env: | |
IMAGE_TAG: ubuntu-18.04 | |
ubuntu-1804-toolchain-test: | |
name: Ubuntu 18.04 | Toolchain Test | |
runs-on: ubuntu-latest | |
needs: ubuntu-1804-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: ubuntu-1804-build | |
- name: Toolchain Test | |
run: | | |
tar -xzf ubuntu-1804-build/build.tar.gz | |
./.cicd/toolchain-tests.sh | |
env: | |
IMAGE_TAG: ubuntu-18.04 | |
macos-1015-build: | |
if: github.event.pull_request.base.repo.id != github.event.pull_request.head.repo.id | |
name: MacOS 10.15 | Build | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Build | |
run: | | |
brew install git automake libtool wget cmake gmp gettext doxygen graphviz lcov python@3 | |
./.cicd/build.sh | |
tar -pczf build.tar.gz build | |
- name: Upload Build Artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: macos-1015-build | |
path: build.tar.gz | |
macos-1015-unit-test: | |
name: MacOS 10.15 | Unit Test | |
runs-on: macos-latest | |
needs: macos-1015-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: macos-1015-build | |
- name: Unit Test | |
run: | | |
brew install git automake libtool wget cmake gmp gettext doxygen graphviz lcov python@3 | |
tar -xzf macos-1015-build/build.tar.gz | |
./.cicd/tests.sh | |
macos-1015-toolchain-test: | |
name: MacOS 10.15 | Toolchain Test | |
runs-on: macos-latest | |
needs: macos-1015-build | |
steps: | |
- name: Checkout | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY} . | |
git fetch -v --prune origin +refs/pull/${PR_NUMBER}/merge:refs/remotes/pull/${PR_NUMBER}/merge | |
git checkout --force --progress refs/remotes/pull/${PR_NUMBER}/merge | |
git submodule sync --recursive | |
git submodule update --init --force --recursive | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v1 | |
with: | |
name: macos-1015-build | |
- name: Toolchain Test | |
run: | | |
brew install git automake libtool wget cmake gmp gettext doxygen graphviz lcov python@3 | |
tar -xzf macos-1015-build/build.tar.gz | |
./.cicd/toolchain-tests.sh |