Skip to content

Commit

Permalink
Switches GUI backend to Skia (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon authored Dec 1, 2024
1 parent f0835e9 commit 479d19b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 129 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Python 3.12 # https://github.com/slint-ui/slint/issues/6615
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Generate cache keys
run: |
echo "target=${{ runner.os }}-${{ runner.arch }}-target" >> $GITHUB_OUTPUT
id: cache-keys
- name: Restore target directory
uses: actions/cache/restore@v4
with:
path: target
key: ${{ steps.cache-keys.outputs.target }}
- name: Update Rust
run: rustup update stable
- name: Install Rust nightly
Expand All @@ -33,3 +46,9 @@ jobs:
with:
name: obliteration-mac-m1
path: Obliteration.dmg
- name: Cache target directory
uses: actions/cache/save@v4
with:
path: target
key: ${{ steps.cache-keys.outputs.target }}-${{ github.run_id }}
if: startsWith(github.ref, 'refs/heads/')
133 changes: 5 additions & 128 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ features = [
"backend-winit",
"compat-1-2",
"raw-window-handle-06",
"renderer-femtovg",
"renderer-skia",
"std",
]
default-features = false
Expand Down

0 comments on commit 479d19b

Please sign in to comment.