mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
name: push_ci
|
|
run-name: Push CI
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
aarch64-linux:
|
|
runs-on: [self-hosted, Linux, aarch64]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Run Build Script
|
|
run: sh ./ci/linux/build-aarch64.sh
|
|
x86_64-macos:
|
|
strategy:
|
|
matrix:
|
|
version: ["11", "12"]
|
|
runs-on: "macos-${{ matrix.version }}"
|
|
env:
|
|
ARCH: "x86_64"
|
|
MACOS_VERSION: ${{ matrix.version }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run Build Script
|
|
run: ./ci/macos/build-x86_64.sh
|
|
aarch64-macos:
|
|
runs-on: [self-hosted, macOS, aarch64]
|
|
env:
|
|
ARCH: "aarch64"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run Build Script
|
|
run: ./ci/macos/build-aarch64.sh
|
|
x86_64-windows:
|
|
runs-on: windows-latest
|
|
env:
|
|
ARCH: "x86_64"
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run Build Script
|
|
run: ./ci/windows/build.ps1
|
|
build-tarballs:
|
|
needs: [aarch64-linux, x86_64-macos, aarch64-macos, x86_64-windows]
|
|
runs-on: [self-hosted, Linux, aarch64]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Build Tarballs
|
|
run: sh ./ci/linux/build-tarballs.sh
|