|
| 1 | +name: MWE custom vs default runner |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + pull_request: |
| 6 | + |
| 7 | +jobs: |
| 8 | + |
| 9 | + |
| 10 | + SetupPython-Custom: |
| 11 | + container: ubuntu:bionic |
| 12 | + runs-on: |
| 13 | + - self-hosted |
| 14 | + - Linux |
| 15 | + - X64 |
| 16 | + |
| 17 | + env: |
| 18 | + MAX_CORES: 80 |
| 19 | + GHA_EXTERNAL_DISK: "tools" |
| 20 | + GHA_SA: "gh-sa-f4pga-arch-defs-ci" |
| 21 | + |
| 22 | + steps: |
| 23 | + |
| 24 | + - name: '🐍 Setup Python' |
| 25 | + uses: actions/setup-python@v2 |
| 26 | + with: |
| 27 | + python-version: '3.10' |
| 28 | + |
| 29 | + |
| 30 | + SetupPython-Default: |
| 31 | + runs-on: ubuntu-latest |
| 32 | + |
| 33 | + steps: |
| 34 | + |
| 35 | + - name: '🐍 Setup Python' |
| 36 | + uses: actions/setup-python@v2 |
| 37 | + with: |
| 38 | + python-version: '3.10' |
| 39 | + |
| 40 | + |
| 41 | + DockerStep-Custom: |
| 42 | + container: ubuntu:bionic |
| 43 | + runs-on: |
| 44 | + - self-hosted |
| 45 | + - Linux |
| 46 | + - X64 |
| 47 | + |
| 48 | + env: |
| 49 | + MAX_CORES: 80 |
| 50 | + GHA_EXTERNAL_DISK: "tools" |
| 51 | + GHA_SA: "gh-sa-f4pga-arch-defs-ci" |
| 52 | + |
| 53 | + steps: |
| 54 | + |
| 55 | + - uses: docker://debian:bullseye-slim |
| 56 | + with: |
| 57 | + args: echo 'Hello world!' |
| 58 | + |
| 59 | + |
| 60 | + DockerStep-Default: |
| 61 | + runs-on: ubuntu-latest |
| 62 | + |
| 63 | + steps: |
| 64 | + |
| 65 | + - uses: docker://debian:bullseye-slim |
| 66 | + with: |
| 67 | + args: echo 'Hello world!' |
| 68 | + |
| 69 | + |
| 70 | + DockerManual-Custom: |
| 71 | + container: ubuntu:bionic |
| 72 | + runs-on: |
| 73 | + - self-hosted |
| 74 | + - Linux |
| 75 | + - X64 |
| 76 | + |
| 77 | + env: |
| 78 | + MAX_CORES: 80 |
| 79 | + GHA_EXTERNAL_DISK: "tools" |
| 80 | + GHA_SA: "gh-sa-f4pga-arch-defs-ci" |
| 81 | + |
| 82 | + steps: |
| 83 | + |
| 84 | + - run: docker pull debian:bullseye-slim |
| 85 | + |
| 86 | + |
| 87 | + DockerManual-Default: |
| 88 | + runs-on: ubuntu-latest |
| 89 | + |
| 90 | + steps: |
| 91 | + |
| 92 | + - run: docker pull debian:bullseye-slim |
| 93 | + |
| 94 | + |
| 95 | + Composite-Custom: |
| 96 | + container: ubuntu:bionic |
| 97 | + runs-on: |
| 98 | + - self-hosted |
| 99 | + - Linux |
| 100 | + - X64 |
| 101 | + |
| 102 | + env: |
| 103 | + MAX_CORES: 80 |
| 104 | + GHA_EXTERNAL_DISK: "tools" |
| 105 | + GHA_SA: "gh-sa-f4pga-arch-defs-ci" |
| 106 | + |
| 107 | + steps: |
| 108 | + |
| 109 | + - uses: antmicro/f4pga-arch-defs/composite@umarcor/runner/mwes |
| 110 | + |
| 111 | + |
| 112 | + Composite-Default: |
| 113 | + runs-on: ubuntu-latest |
| 114 | + |
| 115 | + steps: |
| 116 | + |
| 117 | + - uses: antmicro/f4pga-arch-defs/composite@umarcor/runner/mwes |
| 118 | + |
| 119 | + |
| 120 | + CompositeLocal-Custom: |
| 121 | + container: ubuntu:bionic |
| 122 | + runs-on: |
| 123 | + - self-hosted |
| 124 | + - Linux |
| 125 | + - X64 |
| 126 | + |
| 127 | + env: |
| 128 | + MAX_CORES: 80 |
| 129 | + GHA_EXTERNAL_DISK: "tools" |
| 130 | + GHA_SA: "gh-sa-f4pga-arch-defs-ci" |
| 131 | + |
| 132 | + steps: |
| 133 | + |
| 134 | + - uses: actions/checkout@v3 |
| 135 | + - uses: ./composite |
| 136 | + |
| 137 | + |
| 138 | + CompositeLocal-Default: |
| 139 | + runs-on: ubuntu-latest |
| 140 | + |
| 141 | + steps: |
| 142 | + |
| 143 | + - uses: actions/checkout@v3 |
| 144 | + - uses: ./composite |
0 commit comments