Skip to content

Commit

Permalink
[Draft] Try to fix m1 angle
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Feb 3, 2024
1 parent 4dbbf6f commit 21dd54b
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/m1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,23 @@ jobs:
pushd angle
python scripts/bootstrap.py
gclient sync
gn gen ($INSDIR) ('--args=target_cpu="${{ matrix.arch }}" is_debug=false mac_sdk_path="' + $Env:SDKROOT + '" mac_sdk_min="${{ matrix.version }}" mac_min_system_version="${{ matrix.version }}" mac_deployment_target="${{ matrix.version }}" angle_enable_metal=true angle_enable_swiftshader=false angle_enable_vulkan=false')
@"
--args=target_cpu="${{ matrix.arch }}"
is_debug=false
mac_sdk_min="${{ matrix.version }}"
mac_min_system_version="${{ matrix.version }}"
mac_deployment_target="${{ matrix.version }}"
angle_enable_metal=true
angle_enable_swiftshader=false
angle_enable_vulkan=false
"@ > ($INSDIR + "/args.gn")
if ('${{ matrix.sdkroot }}' -ne '') {
echo 'mac_sdk_path="' + $Env:SDKROOT + '"' >> ($INSDIR + "/args.gn")
}
echo "args.gn:"
cat ($INSDIR + "/args.gn")
echo "Confguring"
gn gen ($INSDIR)
autoninja -C ($INSDIR) libEGL libGLESv2
- name: Create tar archive
run: |
Expand Down

0 comments on commit 21dd54b

Please sign in to comment.