mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
chore: create blank concrete-python-tests workflows
This commit is contained in:
37
.github/workflows/concrete_python_tests_linux.yml
vendored
Normal file
37
.github/workflows/concrete_python_tests_linux.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Concrete Python Tests (Linux)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
instance_id:
|
||||
description: 'Instance ID'
|
||||
type: string
|
||||
instance_image_id:
|
||||
description: 'Instance AMI ID'
|
||||
type: string
|
||||
instance_type:
|
||||
description: 'Instance product type'
|
||||
type: string
|
||||
runner_name:
|
||||
description: 'Action runner name'
|
||||
type: string
|
||||
request_id:
|
||||
description: 'Slab request ID'
|
||||
type: string
|
||||
|
||||
env:
|
||||
DOCKER_IMAGE_TEST: ghcr.io/zama-ai/concrete-compiler
|
||||
GLIB_VER: 2_28
|
||||
|
||||
jobs:
|
||||
BuildConcreteCompilerAndTestConcretePythonInLinux:
|
||||
name: Build Concrete Compiler and Test Concrete Python in Linux
|
||||
runs-on: ${{ github.event.inputs.runner_name }}
|
||||
if: ${{ !cancelled() }}
|
||||
steps:
|
||||
- name: Log instance configuration
|
||||
run: |
|
||||
echo "IDs: ${{ inputs.instance_id }}"
|
||||
echo "AMI: ${{ inputs.instance_image_id }}"
|
||||
echo "Type: ${{ inputs.instance_type }}"
|
||||
echo "Request ID: ${{ inputs.request_id }}"
|
||||
28
.github/workflows/concrete_python_tests_macos.yml
vendored
Normal file
28
.github/workflows/concrete_python_tests_macos.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Concrete Python Tests (macOS)
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
secrets:
|
||||
CONCRETE_CI_SSH_PRIVATE:
|
||||
required: true
|
||||
CONCRETE_ACTIONS_TOKEN:
|
||||
required: true
|
||||
|
||||
concurrency:
|
||||
group: concrete_python_tests_macos_${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
jobs:
|
||||
BuildConcreteCompilerAndTestConcretePythonInLinux:
|
||||
name: Build Concrete Compiler and Test Concrete Python in macOS
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- uses: webfactory/ssh-agent@v0.7.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.CONCRETE_CI_SSH_PRIVATE }}
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
token: ${{ secrets.CONCRETE_ACTIONS_TOKEN }}
|
||||
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@@ -147,3 +147,17 @@ jobs:
|
||||
if: needs.file-change.outputs.concrete-python == 'true' || needs.file-change.outputs.push-main
|
||||
uses: ./.github/workflows/concrete_python_checks.yml
|
||||
secrets: inherit
|
||||
|
||||
concrete-python-tests-linux:
|
||||
needs: file-change
|
||||
if: needs.file-change.outputs.concrete-python == 'true' || needs.file-change.outputs.push-main
|
||||
uses: ./.github/workflows/start_slab.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
command: concrete-python-tests-linux
|
||||
|
||||
concrete-python-tests-macos:
|
||||
needs: file-change
|
||||
if: needs.file-change.outputs.concrete-python == 'true' || needs.file-change.outputs.push-main
|
||||
uses: ./.github/workflows/concrete_python_tests_macos.yml
|
||||
secrets: inherit
|
||||
|
||||
Reference in New Issue
Block a user