zig/.github/workflows/ci.yaml
2022-11-14 22:41:36 +01:00

54 lines
1.2 KiB
YAML

name: push_ci
run-name: Push CI
on:
push:
branches:
- master
jobs:
# linux:
# runs-on: [self-hosted, Linux, aarch64]
# env:
# ARCH: "aarch64"
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Test
# run: echo "Success!"
# - name: Run Build Script
# run: sh ./ci/linux/build.sh
macos-x86_64:
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.sh
macos-aarch64:
runs-on: [self-hosted, macOS, aarch64]
env:
ARCH: "aarch64"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run Build Script
run: ./ci/macos/build.sh
# windows:
# runs-on: [self-hosted, Windows, x64]
# env:
# ARCH: "x86_64"
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# # - name: Run Build Script
# # run: ./ci/windows/build.ps1