diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000000..040dc00ab7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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