mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
CI: test in the ci branch for now
This commit is contained in:
parent
c822da7121
commit
69d1ea769b
56
.github/workflows/ci.yaml
vendored
Normal file
56
.github/workflows/ci.yaml
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user