Skip to content

Commit

Permalink
Fix riscv64 release (#2506)
Browse files Browse the repository at this point in the history
Co-authored-by: Natalie Weizenbaum <[email protected]>
  • Loading branch information
ntkme and nex3 authored Feb 13, 2025
1 parent 7ab44ef commit f32ec4f
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- image: docker.io/library/dart
platform: linux/arm/v7
target: linux-arm
- image: docker.io/library/debian:unstable-slim
- image: docker.io/library/debian:trixie-slim
platform: linux/riscv64
target: linux-riscv64
- image: ghcr.io/dart-musl/dart
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
run: docker run --privileged --rm registry.fedoraproject.org/fedora-minimal /bin/sh -c "microdnf install --assumeyes --nodocs --setopt=install_weak_deps=False qemu-user-static systemd-udev && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && /usr/lib/systemd/systemd-binfmt --unregister && /usr/lib/systemd/systemd-binfmt"

- name: Build
if: matrix.image != 'ghcr.io/dart-android/dart' && matrix.image != 'docker.io/library/debian:unstable-slim'
if: matrix.image != 'ghcr.io/dart-android/dart' && matrix.image != 'docker.io/library/debian:trixie-slim'
run: |
docker run --rm -i \
--platform ${{ matrix.platform }} \
Expand Down Expand Up @@ -99,10 +99,10 @@ jobs:
EOF
# https://github.com/dart-lang/dart-docker/issues/96#issuecomment-1669860829
# There is no official riscv64 dart container image yet, build on debian:unstable instead.
# There is no official riscv64 dart container image yet, build on debian:trixie instead.
# The setup is adopted from: https://github.com/dart-lang/dart-docker/blob/main/Dockerfile-debian.template
- name: Build
if: matrix.image == 'docker.io/library/debian:unstable-slim'
if: matrix.image == 'docker.io/library/debian:trixie-slim'
run: |
DART_CHANNEL=stable
DART_VERSION=$(curl -fsSL https://storage.googleapis.com/dart-archive/channels/$DART_CHANNEL/release/latest/VERSION | yq .version)
Expand All @@ -115,7 +115,7 @@ jobs:
${{ matrix.image }} <<'EOF'
set -e
apt-get update
apt-get install -y --no-install-recommends ca-certificates curl dnsutils git openssh-client unzip
apt-get install -y --no-install-recommends bind9-dnsutils ca-certificates curl git openssh-client unzip
export DART_SDK=/usr/lib/dart
export PATH=$DART_SDK/bin:/root/.pub-cache/bin:$PATH
Expand Down
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## 1.85.0-dev

* No user-visible changes.
## 1.85.0

* No longer fully trim redundant selectors generated by `@extend`. This caused
unacceptable performance issues for certain heavy users of `@extend`. We'll
Expand Down
2 changes: 1 addition & 1 deletion pkg/sass-parser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.4.14-dev
## 0.4.14

* Add support for parsing color expressions.

Expand Down
2 changes: 1 addition & 1 deletion pkg/sass-parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sass-parser",
"version": "0.4.14-dev",
"version": "0.4.14",
"description": "A PostCSS-compatible wrapper of the official Sass parser",
"repository": "sass/sass",
"author": "Google Inc.",
Expand Down
2 changes: 1 addition & 1 deletion pkg/sass_api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 15.2.0-dev
## 15.2.0

* No user-visible changes.

Expand Down
2 changes: 1 addition & 1 deletion pkg/sass_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: sass_api
# Note: Every time we add a new Sass AST node, we need to bump the *major*
# version because it's a breaking change for anyone who's implementing the
# visitor interface(s).
version: 15.2.0-dev
version: 15.2.0
description: Additional APIs for Dart Sass.
homepage: https://github.com/sass/dart-sass

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sass
version: 1.85.0-dev
version: 1.85.0
description: A Sass implementation in Dart.
homepage: https://github.com/sass/dart-sass

Expand Down

0 comments on commit f32ec4f

Please sign in to comment.