Skip to content

Commit

Permalink
Set Python 2 on New MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 committed Jan 15, 2025
1 parent 2603625 commit d446c01
Showing 1 changed file with 33 additions and 29 deletions.
62 changes: 33 additions & 29 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,35 +70,39 @@ jobs:
build_gn:
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- name: prerequisite tools
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git depot_tools
echo "${GITHUB_WORKSPACE}/depot_tools" >> $GITHUB_PATH
- name: gclient sync
run: |
python scripts/bootstrap.py
gclient sync
- name: gn gen
run: gn gen out/release --args="angle_enable_gl=false is_debug=false strip_absolute_paths_from_debug_symbols=true"
- name: make
run: ninja -C out/release angle_end2end_tests angle_deqp_gles2_tests hello_triangle
- name: archive
run: |
cp -v out/release/*.dylib ./
zip --symlinks -r MetalANGLE.dylib.mac.zip include libGLESv2.dylib libGLESv1_CM.dylib libEGL.dylib
rm -v *.dylib
- name: upload
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
MetalANGLE.dylib.mac.zip
draft: true
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v2
- name: Set up Python 2
uses: actions/setup-python@v4
with:
python-version: 2.x
- name: prerequisite tools
run: |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git depot_tools
echo "${GITHUB_WORKSPACE}/depot_tools" >> $GITHUB_PATH
- name: gclient sync
run: |
python scripts/bootstrap.py
gclient sync
- name: gn gen
run: gn gen out/release --args="angle_enable_gl=false is_debug=false strip_absolute_paths_from_debug_symbols=true"
- name: make
run: ninja -C out/release angle_end2end_tests angle_deqp_gles2_tests hello_triangle
- name: archive
run: |
cp -v out/release/*.dylib ./
zip --symlinks -r MetalANGLE.dylib.mac.zip include libGLESv2.dylib libGLESv1_CM.dylib libEGL.dylib
rm -v *.dylib
- name: upload
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
MetalANGLE.dylib.mac.zip
draft: true
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tvos_12:
runs-on: macos-14
steps:
Expand Down

0 comments on commit d446c01

Please sign in to comment.