upgraded StoneWebViewer to 2.5+c23eef785569 #1795
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: all-builds | |
on: | |
schedule: | |
- cron: "0 23 * * *" | |
push: | |
branches: | |
- '*' | |
tags: | |
- '*' | |
pull_request: | |
branches: [ master ] | |
jobs: | |
pre-build: | |
uses: ./.github/workflows/pre-build.yml | |
build-stone-wasm-stable: | |
needs: [pre-build] | |
uses: ./.github/workflows/build-stone-wasm.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: stable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
build-stone-wasm-unstable: | |
needs: [pre-build] | |
uses: ./.github/workflows/build-stone-wasm.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: unstable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
build-volview-dist-stable: | |
needs: [pre-build] | |
uses: ./.github/workflows/build-volview-dist.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: stable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
build-volview-dist-unstable: | |
needs: [pre-build] | |
uses: ./.github/workflows/build-volview-dist.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: unstable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
win-stable-build: | |
needs: [pre-build, build-stone-wasm-stable] | |
uses: ./.github/workflows/build-win-binaries.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: stable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
win-unstable-build: | |
needs: [pre-build, build-stone-wasm-unstable] | |
uses: ./.github/workflows/build-win-binaries.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: unstable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
macos-stable-build: | |
needs: [pre-build, build-stone-wasm-stable, build-volview-dist-stable] | |
uses: ./.github/workflows/build-macos-binaries.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: stable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
macos-unstable-build: | |
needs: [pre-build, build-stone-wasm-unstable, build-volview-dist-unstable] | |
uses: ./.github/workflows/build-macos-binaries.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: unstable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
macos-stable-package: | |
needs: [pre-build, macos-stable-build] | |
uses: ./.github/workflows/build-macos-package.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: stable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
macos-unstable-package: | |
needs: [pre-build, macos-unstable-build] | |
uses: ./.github/workflows/build-macos-package.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: unstable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
build-windows-installer: | |
needs: [pre-build, win-stable-build] #, TODO: build win binaries as well build-win-binaries-unstable] | |
uses: ./.github/workflows/build-windows-installer.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
stable_unstable: unstable | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
build-docker: | |
needs: [pre-build] | |
uses: ./.github/workflows/build-all-dockers.yml | |
with: | |
is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
secrets: | |
docker_hub_username: ${{ secrets.DOCKERHUB_USERNAME }} | |
docker_hub_token: ${{ secrets.DOCKERHUB_TOKEN }} | |
aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
# build-docker-stable: | |
# needs: [pre-build] | |
# runs-on: ${{ matrix.config.runner }} | |
# env: | |
# AWS_ACCESS_KEY_ID: ${{ secrets.aws_access_key_id }} | |
# AWS_SECRET_ACCESS_KEY: ${{ secrets.aws_secret_access_key }} | |
# uses: ./.github/workflows/build-docker.yml | |
# with: | |
# runner: ${{ matrix.config.runner }} | |
# runner_type: ${{ matrix.config.runnerType }} | |
# platform: ${{ matrix.config.platform }} | |
# stable_unstable: ${{ matrix.config.stableUnstable }} | |
# is_tag: ${{ needs.pre-build.outputs.is_tag }} | |
# current_branch_tag: ${{ needs.pre-build.outputs.current_branch_tag }} | |
# secrets: | |
# docker_hub_username: ${{ secrets.DOCKERHUB_USERNAME }} | |
# docker_hub_token: ${{ secrets.DOCKERHUB_TOKEN }} | |
# aws_access_key_id: ${{ secrets.OT_AWS_ACCESS_KEY_ID }} | |
# aws_secret_access_key: ${{ secrets.OT_AWS_SECRET_ACCESS_KEY }} | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# config: | |
# - { | |
# name: "linux/amd64", | |
# platform: "linux/amd64", | |
# cache: "cache-amd64-stable", | |
# stableUnstable: "stable", | |
# runner: "ubuntu-latest", | |
# runnerType: "github-hosted" | |
# } | |
# - { | |
# name: "linux/arm64", | |
# platform: "linux/arm64", | |
# cache: "cache-arm64-stable", | |
# stableUnstable: "stable", | |
# runner: "debian-arm64", | |
# runnerType: "self-hosted" | |
# } | |