2022-05-23 05:16:04 +03:00
|
|
|
---
|
2021-10-30 18:06:21 +03:00
|
|
|
name: GUI CI
|
2021-11-01 22:44:15 +03:00
|
|
|
"on":
|
2021-10-30 18:06:21 +03:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- develop
|
|
|
|
- unstable
|
|
|
|
- stable
|
|
|
|
pull_request: {}
|
|
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-assert-changelog-linux:
|
|
|
|
name: Assert if CHANGELOG.md was updated (on pull request)
|
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
|
|
|
- Linux
|
|
|
|
- engine
|
|
|
|
steps:
|
2022-05-25 12:38:40 +03:00
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
clean: false
|
2022-05-25 04:19:45 +03:00
|
|
|
- id: changed_files
|
|
|
|
run: "git fetch\nlist=`git diff --name-only origin/develop HEAD | tr '\\n' ' '`\necho $list\necho \"::set-output name=list::'$list'\""
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "if [[ ${{ contains(steps.changed_files.outputs.list,'CHANGELOG.md') || contains(github.event.head_commit.message,'[ci no changelog needed]') || contains(github.event.pull_request.body,'[ci no changelog needed]') || github.event.pull_request.user.login == 'dependabot' }} == false ]]; then exit 1; fi"
|
2022-05-25 04:19:45 +03:00
|
|
|
if: "github.base_ref == 'develop' || github.base_ref == 'unstable' || github.base_ref == 'stable'"
|
|
|
|
ide-ci-actions-workflow-definition-job-build-project-manager-linux:
|
|
|
|
name: Build Project Manager (linux)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
|
|
|
- Linux
|
|
|
|
- engine
|
2021-10-30 18:06:21 +03:00
|
|
|
steps:
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
2022-05-23 05:16:04 +03:00
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run project-manager"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-build-project-manager-macos:
|
|
|
|
name: Build Project Manager (macos)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
2022-05-25 04:19:45 +03:00
|
|
|
- macos-latest
|
2021-10-30 18:06:21 +03:00
|
|
|
steps:
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run project-manager"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-build-project-manager-windows:
|
|
|
|
name: Build Project Manager (windows)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
2022-05-25 04:19:45 +03:00
|
|
|
- Windows
|
2022-05-23 05:16:04 +03:00
|
|
|
- engine
|
2021-10-30 18:06:21 +03:00
|
|
|
steps:
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
2022-05-25 04:19:45 +03:00
|
|
|
- run: ".\\run.cmd --help"
|
2022-06-01 14:44:40 +03:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: cmd
|
|
|
|
- run: ".\\run.cmd project-manager"
|
2022-06-01 14:44:40 +03:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: cmd
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-23 05:16:04 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-build-wasm-linux:
|
|
|
|
name: Build GUI (WASM) (linux)
|
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
|
|
|
- Linux
|
|
|
|
- engine
|
2021-10-30 18:06:21 +03:00
|
|
|
steps:
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run wasm build"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-build-wasm-macos:
|
|
|
|
name: Build GUI (WASM) (macos)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
2022-05-25 04:19:45 +03:00
|
|
|
- macos-latest
|
2021-10-30 18:06:21 +03:00
|
|
|
steps:
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run wasm build"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-build-wasm-windows:
|
|
|
|
name: Build GUI (WASM) (windows)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
2022-05-25 04:19:45 +03:00
|
|
|
- Windows
|
2022-05-23 05:16:04 +03:00
|
|
|
- engine
|
|
|
|
steps:
|
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
clean: false
|
2022-05-25 04:19:45 +03:00
|
|
|
- run: ".\\run.cmd --help"
|
2022-06-01 14:44:40 +03:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: cmd
|
|
|
|
- run: ".\\run.cmd wasm build"
|
2022-06-01 14:44:40 +03:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: cmd
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-cancel-workflow-linux:
|
|
|
|
name: Cancel Previous Runs
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
2022-05-25 04:19:45 +03:00
|
|
|
- X64
|
|
|
|
steps:
|
|
|
|
- name: Cancel Previous Runs
|
|
|
|
uses: styfle/cancel-workflow-action@0.9.1
|
|
|
|
with:
|
|
|
|
access_token: "${{ github.token }}"
|
|
|
|
ide-ci-actions-workflow-definition-job-integration-test-linux:
|
|
|
|
name: IDE integration tests (linux)
|
|
|
|
needs:
|
|
|
|
- ide-ci-actions-workflow-definition-job-build-project-manager-linux
|
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
|
|
|
- Linux
|
|
|
|
- engine
|
2022-05-23 05:16:04 +03:00
|
|
|
steps:
|
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run ide integration-test --project-manager-source current-ci-run"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-23 05:16:04 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-lint-linux:
|
|
|
|
name: Lint (linux)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
2022-05-25 04:19:45 +03:00
|
|
|
- Linux
|
2022-05-23 05:16:04 +03:00
|
|
|
- engine
|
2021-10-30 18:06:21 +03:00
|
|
|
steps:
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run lint"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-native-test-linux:
|
|
|
|
name: Native GUI tests (linux)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
2022-05-25 04:19:45 +03:00
|
|
|
- self-hosted
|
|
|
|
- Linux
|
|
|
|
- engine
|
2022-05-23 05:16:04 +03:00
|
|
|
steps:
|
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-23 05:16:04 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run wasm test --no-wasm"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-package-ide-linux:
|
|
|
|
name: Package IDE (linux)
|
|
|
|
needs:
|
|
|
|
- ide-ci-actions-workflow-definition-job-build-wasm-linux
|
|
|
|
- ide-ci-actions-workflow-definition-job-build-project-manager-linux
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
2022-05-25 04:19:45 +03:00
|
|
|
- Linux
|
2022-05-23 05:16:04 +03:00
|
|
|
- engine
|
|
|
|
steps:
|
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run ide build --wasm-source current-ci-run --project-manager-source current-ci-run"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-23 05:16:04 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-package-ide-macos:
|
|
|
|
name: Package IDE (macos)
|
2021-10-30 18:06:21 +03:00
|
|
|
needs:
|
2022-05-23 05:16:04 +03:00
|
|
|
- ide-ci-actions-workflow-definition-job-build-wasm-macos
|
|
|
|
- ide-ci-actions-workflow-definition-job-build-project-manager-macos
|
|
|
|
runs-on:
|
|
|
|
- macos-latest
|
2021-10-30 18:06:21 +03:00
|
|
|
steps:
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
2021-10-30 18:06:21 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run ide build --wasm-source current-ci-run --project-manager-source current-ci-run"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-package-ide-windows:
|
|
|
|
name: Package IDE (windows)
|
|
|
|
needs:
|
|
|
|
- ide-ci-actions-workflow-definition-job-build-wasm-windows
|
|
|
|
- ide-ci-actions-workflow-definition-job-build-project-manager-windows
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
2022-05-25 04:19:45 +03:00
|
|
|
- Windows
|
2022-05-23 05:16:04 +03:00
|
|
|
- engine
|
|
|
|
steps:
|
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
clean: false
|
2022-05-25 04:19:45 +03:00
|
|
|
- run: ".\\run.cmd --help"
|
2022-06-01 14:44:40 +03:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: cmd
|
|
|
|
- run: ".\\run.cmd ide build --wasm-source current-ci-run --project-manager-source current-ci-run"
|
2022-06-01 14:44:40 +03:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-25 04:19:45 +03:00
|
|
|
shell: cmd
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|
2022-05-25 04:19:45 +03:00
|
|
|
ide-ci-actions-workflow-definition-job-wasm-test-linux:
|
|
|
|
name: WASM GUI tests (linux)
|
2022-05-23 05:16:04 +03:00
|
|
|
runs-on:
|
|
|
|
- self-hosted
|
|
|
|
- Linux
|
|
|
|
- engine
|
|
|
|
steps:
|
|
|
|
- name: Setup conda (GH runners only)
|
|
|
|
uses: s-weigand/setup-conda@v1.0.5
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
|
|
|
update-conda: false
|
|
|
|
conda-channels: "anaconda, conda-forge"
|
|
|
|
- name: Installing wasm-pack
|
|
|
|
uses: jetli/wasm-pack-action@v0.3.0
|
|
|
|
if: "startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')"
|
|
|
|
with:
|
2022-06-01 14:44:40 +03:00
|
|
|
version: v0.10.2
|
2022-05-23 05:16:04 +03:00
|
|
|
- name: Setup the Artifact API environment
|
|
|
|
uses: actions/github-script@v6
|
|
|
|
with:
|
|
|
|
script: "core.exportVariable(\"ACTIONS_RUNTIME_TOKEN\", process.env[\"ACTIONS_RUNTIME_TOKEN\"])\ncore.exportVariable(\"ACTIONS_RUNTIME_URL\", process.env[\"ACTIONS_RUNTIME_URL\"])\ncore.exportVariable(\"GITHUB_RETENTION_DAYS\", process.env[\"GITHUB_RETENTION_DAYS\"])"
|
|
|
|
- name: Checking out the repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
clean: false
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run --help"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2022-05-23 05:16:04 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- run: "./run wasm test --no-native"
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2021-10-30 18:06:21 +03:00
|
|
|
shell: bash
|
2022-06-01 14:44:40 +03:00
|
|
|
- name: List files if failed
|
|
|
|
run: ls -R
|
|
|
|
if: failure()
|