Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.4.0 #795

Merged
merged 16 commits into from
Aug 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix matrix definition
  • Loading branch information
carson-katri committed May 17, 2024
commit 14f04bc1eea7bc8d90a75b11f8de2e1c43157375
37 changes: 19 additions & 18 deletions .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,22 @@ jobs:
package-release:
strategy:
matrix:
os: [windows-latest, macos-14]
python_version: ['3.10', '3.11']
include:
- os: windows-latest
requirements: win-linux-cuda.txt
platform:
- requirements: win-linux-cuda.txt
os: windows-latest
filename: windows-cuda
- os: windows-latest
requirements: win-dml.txt
filename: windows-directml
- os: macos-latest
requirements: mac-mps-cpu.txt
- requirements: win-dml.txt
os: windows-latest
filename: windows-directml
- requirements: mac-mps-cpu.txt
os: macos-14
filename: macos-arm
- python_version: '3.11'
version:
- python: '3.10'
filename_suffix: ''
- python: '3.11'
filename_suffix: '-4-1'
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.platform.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -32,12 +33,12 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
python-version: ${{ matrix.version.python }}
cache: 'pip'
cache-dependency-path: '**/${{ matrix.requirements }}'
cache-dependency-path: '**/${{ matrix.platform.requirements }}'
- name: Install dependencies into target
shell: bash
run: 'python -m pip install -r requirements/${{ matrix.requirements }} --no-cache-dir --target .python_dependencies'
run: 'python -m pip install -r requirements/${{ matrix.platform.requirements }} --no-cache-dir --target .python_dependencies'
working-directory: dream_textures
- name: Zip dependencies with long paths
shell: bash
Expand All @@ -46,10 +47,10 @@ jobs:
uses: thedoctor0/zip-release@main
with:
type: zip
filename: dream_textures-${{ matrix.filename }}${{ matrix.filename_suffix }}.zip
filename: dream_textures-${{ matrix.platform.filename }}${{ matrix.version.filename_suffix }}.zip
exclusions: '*.git*'
- name: Archive and upload artifact
uses: actions/upload-artifact@v3
with:
name: dream_textures-${{ matrix.filename }}${{ matrix.filename_suffix }}
path: dream_textures-${{ matrix.filename }}${{ matrix.filename_suffix }}.zip
name: dream_textures-${{ matrix.platform.filename }}${{ matrix.version.filename_suffix }}
path: dream_textures-${{ matrix.platform.filename }}${{ matrix.version.filename_suffix }}.zip
Loading