mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
ci: make the workflow file a bit more readable
This commit is contained in:
parent
fc8a51ece3
commit
c969ef7cbe
@ -1,15 +1,19 @@
|
||||
name: ci
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
aarch64-linux-debug:
|
||||
runs-on: [self-hosted, aarch64-linux]
|
||||
@ -31,6 +35,7 @@ jobs:
|
||||
- name: Build and Test
|
||||
run: sh ci/aarch64-linux-release.sh
|
||||
timeout-minutes: 120
|
||||
|
||||
aarch64-macos-debug:
|
||||
runs-on: [self-hosted, aarch64-macos]
|
||||
steps:
|
||||
@ -51,6 +56,7 @@ jobs:
|
||||
- name: Build and Test
|
||||
run: sh ci/aarch64-macos-release.sh
|
||||
timeout-minutes: 120
|
||||
|
||||
loongarch64-linux-debug:
|
||||
runs-on: [self-hosted, loongarch64-linux]
|
||||
steps:
|
||||
@ -71,6 +77,7 @@ jobs:
|
||||
- name: Build and Test
|
||||
run: sh ci/loongarch64-linux-release.sh
|
||||
timeout-minutes: 180
|
||||
|
||||
riscv64-linux-debug:
|
||||
if: github.event_name != 'pull_request'
|
||||
runs-on: [self-hosted, riscv64-linux]
|
||||
@ -93,6 +100,7 @@ jobs:
|
||||
- name: Build and Test
|
||||
run: sh ci/riscv64-linux-release.sh
|
||||
timeout-minutes: 480
|
||||
|
||||
s390x-linux-debug:
|
||||
runs-on: [self-hosted, s390x-linux]
|
||||
steps:
|
||||
@ -113,6 +121,7 @@ jobs:
|
||||
- name: Build and Test
|
||||
run: sh ci/s390x-linux-release.sh
|
||||
timeout-minutes: 240
|
||||
|
||||
x86_64-freebsd-debug:
|
||||
runs-on: [self-hosted, x86_64-freebsd]
|
||||
steps:
|
||||
@ -133,6 +142,7 @@ jobs:
|
||||
- name: Build and Test
|
||||
run: sh ci/x86_64-freebsd-release.sh
|
||||
timeout-minutes: 120
|
||||
|
||||
x86_64-linux-debug:
|
||||
runs-on: [self-hosted, x86_64-linux]
|
||||
steps:
|
||||
@ -163,6 +173,7 @@ jobs:
|
||||
- name: Build and Test
|
||||
run: sh ci/x86_64-linux-release.sh
|
||||
timeout-minutes: 480
|
||||
|
||||
x86_64-windows-debug:
|
||||
runs-on: [self-hosted, x86_64-windows]
|
||||
steps:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user