From ec7d92d42704583ade581fc4a1e5d9dae2c84d52 Mon Sep 17 00:00:00 2001 From: Ramez Ragaa Date: Sat, 5 Oct 2024 15:03:26 +0300 Subject: [PATCH] Add ANGLE build script to github actions --- .github/workflows/angle.yml | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/angle.yml diff --git a/.github/workflows/angle.yml b/.github/workflows/angle.yml new file mode 100644 index 0000000000..c62e37fa21 --- /dev/null +++ b/.github/workflows/angle.yml @@ -0,0 +1,43 @@ +name: MoltenVK +on: + push: + branches-ignore: + - "ci/**" + - "develop/**" + - "main" + paths: + - build/submodules/ANGLE + - build/nuke/Native/Core.cs + - build/nuke/Native/Angle.cs + - .github/workflows/angle.yml +jobs: + Build: + if: github.repository == 'dotnet/Silk.NET' + strategy: + fail-fast: false + matrix: + env: + - os: macos-13-xlarge + name: Darwin + nuke_invoke: ./build.sh + name: ${{ matrix.env.name }} Build + runs-on: ${{ matrix.env.os }} + steps: + - uses: actions/checkout@v2 + with: + token: ${{ secrets.PUSHABLE_GITHUB_TOKEN }} + + - name: Configure git + run: | + git config --local user.email "9011267+dotnet-bot@users.noreply.github.com" + git config --local user.name "The Silk.NET Automaton" + + # Install python + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + + - name: Build ANGLE + run: ${{ matrix.env.nuke_invoke }} Angle + env: + PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}