2022-11-22 16:43:52 +00:00
|
|
|
name: ci
|
2022-11-23 02:00:39 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
2023-01-17 03:33:24 +00:00
|
|
|
branches:
|
2022-11-23 02:00:39 +00:00
|
|
|
- master
|
2023-01-17 03:33:24 +00:00
|
|
|
concurrency:
|
2022-11-23 23:07:58 +00:00
|
|
|
# Cancels pending runs when a PR gets updated.
|
2022-12-05 22:51:10 +00:00
|
|
|
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
|
2022-11-23 23:07:58 +00:00
|
|
|
cancel-in-progress: true
|
2022-11-15 00:40:13 +00:00
|
|
|
jobs:
|
2022-11-22 03:15:22 +00:00
|
|
|
x86_64-linux-debug:
|
2023-01-18 00:21:03 +00:00
|
|
|
timeout-minutes: 420
|
2022-11-22 16:43:52 +00:00
|
|
|
runs-on: [self-hosted, Linux, x86_64]
|
2022-11-22 03:15:22 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build and Test
|
2022-11-30 22:56:50 +00:00
|
|
|
run: sh ci/x86_64-linux-debug.sh
|
2022-11-22 03:15:22 +00:00
|
|
|
x86_64-linux-release:
|
2022-11-22 16:43:52 +00:00
|
|
|
runs-on: [self-hosted, Linux, x86_64]
|
2022-11-22 03:15:22 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build and Test
|
2022-11-30 22:56:50 +00:00
|
|
|
run: sh ci/x86_64-linux-release.sh
|
|
|
|
aarch64-linux-debug:
|
2023-01-25 03:32:29 +00:00
|
|
|
timeout-minutes: 420
|
2022-11-30 22:56:50 +00:00
|
|
|
runs-on: [self-hosted, Linux, aarch64]
|
2022-11-15 00:40:13 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2022-11-22 16:43:52 +00:00
|
|
|
- name: Build and Test
|
2022-11-30 22:56:50 +00:00
|
|
|
run: sh ci/aarch64-linux-debug.sh
|
|
|
|
aarch64-linux-release:
|
|
|
|
runs-on: [self-hosted, Linux, aarch64]
|
2022-11-15 00:40:13 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2022-11-22 16:43:52 +00:00
|
|
|
- name: Build and Test
|
2022-11-30 22:56:50 +00:00
|
|
|
run: sh ci/aarch64-linux-release.sh
|
2023-01-20 18:57:49 +00:00
|
|
|
x86_64-macos-debug:
|
2022-11-30 22:56:50 +00:00
|
|
|
runs-on: "macos-11"
|
2022-11-28 22:12:31 +00:00
|
|
|
env:
|
2022-11-30 22:56:50 +00:00
|
|
|
ARCH: "x86_64"
|
2022-11-15 00:40:13 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2022-11-22 16:43:52 +00:00
|
|
|
- name: Build and Test
|
2023-01-20 18:57:49 +00:00
|
|
|
run: ci/x86_64-macos-debug.sh
|
|
|
|
x86_64-macos-release:
|
|
|
|
runs-on: "macos-11"
|
|
|
|
env:
|
|
|
|
ARCH: "x86_64"
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build and Test
|
|
|
|
run: ci/x86_64-macos-release.sh
|
2022-11-22 16:43:52 +00:00
|
|
|
aarch64-macos:
|
|
|
|
runs-on: [self-hosted, macOS, aarch64]
|
2022-11-28 22:12:31 +00:00
|
|
|
env:
|
2022-11-22 16:43:52 +00:00
|
|
|
ARCH: "aarch64"
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build and Test
|
2022-11-30 22:56:50 +00:00
|
|
|
run: ci/aarch64-macos.sh
|
2023-01-17 03:33:24 +00:00
|
|
|
x86_64-windows-debug:
|
2022-11-30 22:56:50 +00:00
|
|
|
runs-on: windows-latest
|
2023-01-17 03:33:24 +00:00
|
|
|
env:
|
|
|
|
ARCH: "x86_64"
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build and Test
|
|
|
|
run: ci/x86_64-windows-debug.ps1
|
|
|
|
x86_64-windows-release:
|
|
|
|
runs-on: windows-latest
|
|
|
|
env:
|
2022-11-30 22:56:50 +00:00
|
|
|
ARCH: "x86_64"
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build and Test
|
2023-01-17 03:33:24 +00:00
|
|
|
run: ci/x86_64-windows-release.ps1
|
2022-11-28 22:12:31 +00:00
|
|
|
aarch64-windows:
|
|
|
|
runs-on: [self-hosted, Windows, aarch64]
|
|
|
|
env:
|
|
|
|
ARCH: "aarch64"
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Build and Test
|
|
|
|
run: ci/aarch64-windows.ps1
|