Skip to content

Commit

Permalink
MWE combine workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Aug 17, 2022
1 parent 3925079 commit e65512e
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 170 deletions.
144 changes: 144 additions & 0 deletions .github/workflows/CustomRunnerMWEs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
name: MWE custom vs default runner

on:
push:
pull_request:

jobs:


SetupPython-Custom:
container: ubuntu:bionic
runs-on:
- self-hosted
- Linux
- X64

env:
MAX_CORES: 80
GHA_EXTERNAL_DISK: "tools"
GHA_SA: "gh-sa-f4pga-arch-defs-ci"

steps:

- name: '🐍 Setup Python'
uses: actions/setup-python@v2
with:
python-version: '3.10'


SetupPython-Default:
runs-on: ubuntu-latest

steps:

- name: '🐍 Setup Python'
uses: actions/setup-python@v2
with:
python-version: '3.10'


DockerStep-Custom:
container: ubuntu:bionic
runs-on:
- self-hosted
- Linux
- X64

env:
MAX_CORES: 80
GHA_EXTERNAL_DISK: "tools"
GHA_SA: "gh-sa-f4pga-arch-defs-ci"

steps:

- uses: docker://debian:bullseye-slim
with:
args: echo 'Hello world!'


DockerStep-Default:
runs-on: ubuntu-latest

steps:

- uses: docker://debian:bullseye-slim
with:
args: echo 'Hello world!'


DockerManual-Custom:
container: ubuntu:bionic
runs-on:
- self-hosted
- Linux
- X64

env:
MAX_CORES: 80
GHA_EXTERNAL_DISK: "tools"
GHA_SA: "gh-sa-f4pga-arch-defs-ci"

steps:

- run: docker pull debian:bullseye-slim


DockerManual-Default:
runs-on: ubuntu-latest

steps:

- run: docker pull debian:bullseye-slim


Composite-Custom:
container: ubuntu:bionic
runs-on:
- self-hosted
- Linux
- X64

env:
MAX_CORES: 80
GHA_EXTERNAL_DISK: "tools"
GHA_SA: "gh-sa-f4pga-arch-defs-ci"

steps:

- uses: antmicro/f4pga-arch-defs/composite@umarcor/runner/mwes


Composite-Default:
runs-on: ubuntu-latest

steps:

- uses: antmicro/f4pga-arch-defs/composite@umarcor/runner/mwes


CompositeLocal-Custom:
container: ubuntu:bionic
runs-on:
- self-hosted
- Linux
- X64

env:
MAX_CORES: 80
GHA_EXTERNAL_DISK: "tools"
GHA_SA: "gh-sa-f4pga-arch-defs-ci"

steps:

- uses: actions/checkout@v3
- uses: ./composite


CompositeLocal-Default:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v3
- uses: ./composite
32 changes: 0 additions & 32 deletions .github/workflows/composite-local.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/composite.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/docker-manual.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/docker-step.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/setup-python.yml

This file was deleted.

0 comments on commit e65512e

Please sign in to comment.