Skip to content

Commit

Permalink
[publish angle win] Update angle version and add Python 3.12 to m…
Browse files Browse the repository at this point in the history
…atrix for `angle` and update Github Actions for related jobs (#99)

* Add Python 3.12 to matrix for angle and update Github Actions for related jobs

* Seems to fail for no reason. Test windows-latest

* Update tracked branch for angle and update version

* New download-artifact version works differently
  • Loading branch information
misl6 authored Dec 8, 2023
1 parent dd5b92d commit 9ee8d4e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/windows_angle_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ env:

jobs:
prepare_angle:
runs-on: windows-2019
runs-on: windows-latest
env:
DEPOT_TOOLS_WIN_TOOLCHAIN: 0
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Get dependecies
run: |
. .\ci\windows_ci.ps1
Expand All @@ -33,7 +33,7 @@ jobs:
run: |
. .\ci\windows_ci.ps1
Build-angle
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3
with:
name: angle_dlls
path: angle_dlls
Expand All @@ -45,30 +45,31 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
python: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
arch: ['x64', 'x86']
env:
PACKAGE_ARCH: ${{ matrix.arch }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
- name: Prepare Environment
run: |
. .\ci\windows_ci.ps1
Prepre-env
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v3
with:
name: angle_dlls
path: angle_dlls
- name: Build package
run: |
. .\ci\windows_ci.ps1
Create-Packages
- name: Upload wheels as artifact
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v3
with:
name: angle_wheels
path: dist
Expand Down
2 changes: 1 addition & 1 deletion ci/windows_ci.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function Test-kivy() {
function Get-angle-deps() {
Invoke-WebRequest -Uri "https://storage.googleapis.com/chrome-infra/depot_tools.zip" -OutFile depot_tools.zip
7z x depot_tools.zip -odepot_tools
git clone -b "chromium/4758" --single-branch https://github.com/google/angle.git angle_src
git clone -b "chromium/6045" --single-branch https://github.com/google/angle.git angle_src
}

function Build-angle() {
Expand Down
2 changes: 1 addition & 1 deletion win/angle.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import absolute_import, print_function
from .common import *

__version__ = '0.3.3'
__version__ = '0.4.0'


def get_angle(cache, build_path, arch, package, output, download_only=False):
Expand Down

0 comments on commit 9ee8d4e

Please sign in to comment.