-
-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ANGLE build script to github actions
- Loading branch information
1 parent
605b5ff
commit ec7d92d
Showing
1 changed file
with
43 additions
and
0 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: 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 }} |