zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

ci.yaml (2641B) - Raw


      1 name: ci
      2 on:
      3   pull_request:
      4   push:
      5     branches:
      6       - master
      7       - 0.15.x
      8 concurrency:
      9   # Cancels pending runs when a PR gets updated.
     10   group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
     11   cancel-in-progress: true
     12 permissions:
     13   # Sets permission policy for `GITHUB_TOKEN`
     14   contents: read
     15 jobs:
     16   x86_64-linux-debug:
     17     timeout-minutes: 540
     18     runs-on: [self-hosted, Linux, x86_64]
     19     steps:
     20       - name: Checkout
     21         uses: actions/checkout@v4
     22       - name: Build and Test
     23         run: sh ci/x86_64-linux-debug.sh
     24   x86_64-linux-debug-llvm:
     25     timeout-minutes: 540
     26     runs-on: [self-hosted, Linux, x86_64]
     27     steps:
     28       - name: Checkout
     29         uses: actions/checkout@v4
     30       - name: Build and Test
     31         run: sh ci/x86_64-linux-debug-llvm.sh
     32   x86_64-linux-release:
     33     timeout-minutes: 540
     34     runs-on: [self-hosted, Linux, x86_64]
     35     steps:
     36       - name: Checkout
     37         uses: actions/checkout@v4
     38       - name: Build and Test
     39         run: sh ci/x86_64-linux-release.sh
     40   aarch64-linux-debug:
     41     runs-on: [self-hosted, Linux, aarch64]
     42     steps:
     43       - name: Checkout
     44         uses: actions/checkout@v4
     45       - name: Build and Test
     46         run: sh ci/aarch64-linux-debug.sh
     47   aarch64-linux-release:
     48     runs-on: [self-hosted, Linux, aarch64]
     49     steps:
     50       - name: Checkout
     51         uses: actions/checkout@v4
     52       - name: Build and Test
     53         run: sh ci/aarch64-linux-release.sh
     54   x86_64-macos-release:
     55     runs-on: "macos-13"
     56     env:
     57       ARCH: "x86_64"
     58     steps:
     59       - name: Checkout
     60         uses: actions/checkout@v4
     61       - name: Build and Test
     62         run: ci/x86_64-macos-release.sh
     63   aarch64-macos-debug:
     64     runs-on: [self-hosted, macOS, aarch64]
     65     env:
     66       ARCH: "aarch64"
     67     steps:
     68       - name: Checkout
     69         uses: actions/checkout@v4
     70       - name: Build and Test
     71         run: ci/aarch64-macos-debug.sh
     72   aarch64-macos-release:
     73     runs-on: [self-hosted, macOS, aarch64]
     74     env:
     75       ARCH: "aarch64"
     76     steps:
     77       - name: Checkout
     78         uses: actions/checkout@v4
     79       - name: Build and Test
     80         run: ci/aarch64-macos-release.sh
     81   x86_64-windows-debug:
     82     timeout-minutes: 420
     83     runs-on: [self-hosted, Windows, x86_64]
     84     env:
     85       ARCH: "x86_64"
     86     steps:
     87       - name: Checkout
     88         uses: actions/checkout@v4
     89       - name: Build and Test
     90         run: ci/x86_64-windows-debug.ps1
     91   x86_64-windows-release:
     92     timeout-minutes: 420
     93     runs-on: [self-hosted, Windows, x86_64]
     94     env:
     95       ARCH: "x86_64"
     96     steps:
     97       - name: Checkout
     98         uses: actions/checkout@v4
     99       - name: Build and Test
    100         run: ci/x86_64-windows-release.ps1