-
-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI builds (MacOS only) for ANGLE (#2290)
* add nuke script for ANGLE builds on MacOS sad * Add ANGLE build script to github actions * Change workflow name --------- Co-authored-by: Dylan Perks <[email protected]>
- Loading branch information
1 parent
f8c1ac6
commit 1c08ac5
Showing
2 changed files
with
176 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: ANGLE | ||
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 "[email protected]" | ||
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters