2023-01-27 03:09:09 +03:00
|
|
|
# This file is auto-generated. Do not edit it manually!
|
2023-07-19 16:16:42 +03:00
|
|
|
# Edit the build/shader-tools/src/ci.rs module instead and run `cargo run --package enso-build-ci-gen`.
|
2023-01-27 03:09:09 +03:00
|
|
|
|
|
|
|
name: Package Tools
|
|
|
|
on:
|
|
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
|
|
run-create-linux-latest:
|
|
|
|
name: Run create (LinuxLatest)
|
|
|
|
runs-on:
|
|
|
|
- ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checking out the repository
|
2023-10-17 01:59:52 +03:00
|
|
|
uses: actions/checkout@v4
|
2023-01-27 03:09:09 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
|
|
|
submodules: recursive
|
|
|
|
- id: step_0
|
|
|
|
run: cargo run --package enso-build-shader-tools --bin create
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.CI_PRIVATE_TOKEN }}
|
|
|
|
outputs:
|
|
|
|
ENSO_RELEASE_ID: ${{ steps.step_0.outputs.ENSO_RELEASE_ID }}
|
|
|
|
timeout-minutes: 360
|
|
|
|
run-package-linux-latest:
|
|
|
|
name: Run package (LinuxLatest)
|
|
|
|
needs:
|
|
|
|
- run-create-linux-latest
|
|
|
|
runs-on:
|
|
|
|
- ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checking out the repository
|
2023-10-17 01:59:52 +03:00
|
|
|
uses: actions/checkout@v4
|
2023-01-27 03:09:09 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
|
|
|
submodules: recursive
|
|
|
|
- id: step_1
|
|
|
|
run: cargo run --package enso-build-shader-tools --bin package
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.CI_PRIVATE_TOKEN }}
|
|
|
|
env:
|
|
|
|
ENSO_RELEASE_ID: ${{ needs.run-create-linux-latest.outputs.ENSO_RELEASE_ID }}
|
|
|
|
timeout-minutes: 360
|
|
|
|
run-package-mac-os-latest:
|
|
|
|
name: Run package (MacOSLatest)
|
|
|
|
needs:
|
|
|
|
- run-create-linux-latest
|
|
|
|
runs-on:
|
|
|
|
- macos-latest
|
|
|
|
steps:
|
|
|
|
- name: Checking out the repository
|
2023-10-17 01:59:52 +03:00
|
|
|
uses: actions/checkout@v4
|
2023-01-27 03:09:09 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
|
|
|
submodules: recursive
|
|
|
|
- id: step_3
|
|
|
|
run: cargo run --package enso-build-shader-tools --bin package
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.CI_PRIVATE_TOKEN }}
|
|
|
|
env:
|
|
|
|
ENSO_RELEASE_ID: ${{ needs.run-create-linux-latest.outputs.ENSO_RELEASE_ID }}
|
|
|
|
timeout-minutes: 360
|
|
|
|
run-package-windows-latest:
|
|
|
|
name: Run package (WindowsLatest)
|
|
|
|
needs:
|
|
|
|
- run-create-linux-latest
|
|
|
|
runs-on:
|
|
|
|
- windows-latest
|
|
|
|
steps:
|
|
|
|
- name: Checking out the repository
|
2023-10-17 01:59:52 +03:00
|
|
|
uses: actions/checkout@v4
|
2023-01-27 03:09:09 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
|
|
|
submodules: recursive
|
|
|
|
- id: step_2
|
|
|
|
run: cargo run --package enso-build-shader-tools --bin package
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.CI_PRIVATE_TOKEN }}
|
|
|
|
env:
|
|
|
|
ENSO_RELEASE_ID: ${{ needs.run-create-linux-latest.outputs.ENSO_RELEASE_ID }}
|
|
|
|
timeout-minutes: 360
|
|
|
|
run-publish-linux-latest:
|
|
|
|
name: Run publish (LinuxLatest)
|
|
|
|
needs:
|
|
|
|
- run-create-linux-latest
|
|
|
|
- run-package-linux-latest
|
|
|
|
- run-package-mac-os-latest
|
|
|
|
- run-package-windows-latest
|
|
|
|
runs-on:
|
|
|
|
- ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checking out the repository
|
2023-10-17 01:59:52 +03:00
|
|
|
uses: actions/checkout@v4
|
2023-01-27 03:09:09 +03:00
|
|
|
with:
|
|
|
|
clean: false
|
|
|
|
submodules: recursive
|
|
|
|
- id: step_4
|
|
|
|
run: cargo run --package enso-build-shader-tools --bin publish
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.CI_PRIVATE_TOKEN }}
|
|
|
|
env:
|
|
|
|
ENSO_RELEASE_ID: ${{ needs.run-create-linux-latest.outputs.ENSO_RELEASE_ID }}
|
|
|
|
timeout-minutes: 360
|
|
|
|
env:
|
|
|
|
ENSO_BUILD_SKIP_VERSION_CHECK: "true"
|