master
  1name: ci
  2
  3on:
  4  pull_request:
  5  push:
  6    branches:
  7      - master
  8  workflow_dispatch:
  9
 10concurrency:
 11  group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
 12  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
 13
 14permissions:
 15  contents: read
 16
 17jobs:
 18  aarch64-linux-debug:
 19    runs-on: [self-hosted, aarch64-linux]
 20    steps:
 21      - name: Checkout
 22        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 23        with:
 24          fetch-depth: 0
 25      - name: Build and Test
 26        run: sh ci/aarch64-linux-debug.sh
 27        timeout-minutes: 180
 28  aarch64-linux-release:
 29    runs-on: [self-hosted, aarch64-linux]
 30    steps:
 31      - name: Checkout
 32        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 33        with:
 34          fetch-depth: 0
 35      - name: Build and Test
 36        run: sh ci/aarch64-linux-release.sh
 37        timeout-minutes: 120
 38
 39  aarch64-macos-debug:
 40    runs-on: [self-hosted, aarch64-macos]
 41    steps:
 42      - name: Checkout
 43        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 44        with:
 45          fetch-depth: 0
 46      - name: Build and Test
 47        run: sh ci/aarch64-macos-debug.sh
 48        timeout-minutes: 180
 49  aarch64-macos-release:
 50    runs-on: [self-hosted, aarch64-macos]
 51    steps:
 52      - name: Checkout
 53        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 54        with:
 55          fetch-depth: 0
 56      - name: Build and Test
 57        run: sh ci/aarch64-macos-release.sh
 58        timeout-minutes: 120
 59
 60  loongarch64-linux-debug:
 61    runs-on: [self-hosted, loongarch64-linux]
 62    steps:
 63      - name: Checkout
 64        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 65        with:
 66          fetch-depth: 0
 67      - name: Build and Test
 68        run: sh ci/loongarch64-linux-debug.sh
 69        timeout-minutes: 240
 70  loongarch64-linux-release:
 71    runs-on: [self-hosted, loongarch64-linux]
 72    steps:
 73      - name: Checkout
 74        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 75        with:
 76          fetch-depth: 0
 77      - name: Build and Test
 78        run: sh ci/loongarch64-linux-release.sh
 79        timeout-minutes: 180
 80
 81  riscv64-linux-debug:
 82    if: github.event_name != 'pull_request'
 83    runs-on: [self-hosted, riscv64-linux]
 84    steps:
 85      - name: Checkout
 86        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 87        with:
 88          fetch-depth: 0
 89      - name: Build and Test
 90        run: sh ci/riscv64-linux-debug.sh
 91        timeout-minutes: 600
 92  riscv64-linux-release:
 93    if: github.event_name != 'pull_request'
 94    runs-on: [self-hosted, riscv64-linux]
 95    steps:
 96      - name: Checkout
 97        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
 98        with:
 99          fetch-depth: 0
100      - name: Build and Test
101        run: sh ci/riscv64-linux-release.sh
102        timeout-minutes: 480
103
104  s390x-linux-debug:
105    runs-on: [self-hosted, s390x-linux]
106    steps:
107      - name: Checkout
108        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
109        with:
110          fetch-depth: 0
111      - name: Build and Test
112        run: sh ci/s390x-linux-debug.sh
113        timeout-minutes: 300
114  s390x-linux-release:
115    runs-on: [self-hosted, s390x-linux]
116    steps:
117      - name: Checkout
118        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
119        with:
120          fetch-depth: 0
121      - name: Build and Test
122        run: sh ci/s390x-linux-release.sh
123        timeout-minutes: 240
124
125  x86_64-freebsd-debug:
126    runs-on: [self-hosted, x86_64-freebsd]
127    steps:
128      - name: Checkout
129        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
130        with:
131          fetch-depth: 0
132      - name: Build and Test
133        run: sh ci/x86_64-freebsd-debug.sh
134        timeout-minutes: 120
135  x86_64-freebsd-release:
136    runs-on: [self-hosted, x86_64-freebsd]
137    steps:
138      - name: Checkout
139        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
140        with:
141          fetch-depth: 0
142      - name: Build and Test
143        run: sh ci/x86_64-freebsd-release.sh
144        timeout-minutes: 120
145
146  x86_64-linux-debug:
147    runs-on: [self-hosted, x86_64-linux]
148    steps:
149      - name: Checkout
150        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
151        with:
152          fetch-depth: 0
153      - name: Build and Test
154        run: sh ci/x86_64-linux-debug.sh
155        timeout-minutes: 240
156  x86_64-linux-debug-llvm:
157    runs-on: [self-hosted, x86_64-linux]
158    steps:
159      - name: Checkout
160        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
161        with:
162          fetch-depth: 0
163      - name: Build and Test
164        run: sh ci/x86_64-linux-debug-llvm.sh
165        timeout-minutes: 480
166  x86_64-linux-release:
167    runs-on: [self-hosted, x86_64-linux]
168    steps:
169      - name: Checkout
170        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
171        with:
172          fetch-depth: 0
173      - name: Build and Test
174        run: sh ci/x86_64-linux-release.sh
175        timeout-minutes: 480
176
177  x86_64-windows-debug:
178    runs-on: [self-hosted, x86_64-windows]
179    steps:
180      - name: Checkout
181        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
182        with:
183          fetch-depth: 0
184      - name: Build and Test
185        run: ci/x86_64-windows-debug.ps1
186        timeout-minutes: 180
187  x86_64-windows-release:
188    runs-on: [self-hosted, x86_64-windows]
189    steps:
190      - name: Checkout
191        uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
192        with:
193          fetch-depth: 0
194      - name: Build and Test
195        run: ci/x86_64-windows-release.ps1
196        timeout-minutes: 180