aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLoris Cro <kappaloris@gmail.com>2022-11-14 22:41:36 +0100
committerLoris Cro <kappaloris@gmail.com>2022-11-14 22:41:36 +0100
commitbbd0775d777324636f7427496b5d9a3137db93d1 (patch)
treeb638b96ffcf8bfa3c13cbba1d9c1d7a651f35b6b /.github
parent7eed028f9a538624b90279aa430f6e136a77f6a2 (diff)
downloadzig-bbd0775d777324636f7427496b5d9a3137db93d1.tar.gz
zig-bbd0775d777324636f7427496b5d9a3137db93d1.zip
ci: init github actions support
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml53
1 files changed, 53 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000000..69ff25041f
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,53 @@
+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