CI: test in the ci branch for now

This commit is contained in:
Andrew Kelley 2022-11-14 17:40:13 -07:00
parent c822da7121
commit 69d1ea769b

56
.github/workflows/ci.yaml vendored Normal file
View 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