From 772280a7ff0605e17d1a247c201f5865d001cdd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AA=E3=81=A4=E3=81=8D?= Date: Tue, 19 Mar 2024 15:17:50 -0700 Subject: [PATCH] Support linux-riscv64 and windows-arm64 (#2201) Co-authored-by: Natalie Weizenbaum --- .github/workflows/build-android.yml | 4 ++++ .github/workflows/build-linux-musl.yml | 3 +++ .github/workflows/build-linux.yml | 4 ++++ .github/workflows/build-windows.yml | 6 ++---- CHANGELOG.md | 4 ++++ pubspec.yaml | 2 +- 6 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index 5f2bb57db..e8ccdd7dc 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -26,6 +26,10 @@ jobs: - arch: arm lib: lib platform: linux/arm64 + # There is no docker image for riscv64 dart-sdk, build kernel snapshot instead. + - arch: riscv64 + lib: lib64 + platform: linux/amd64 # linux/riscv64 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/build-linux-musl.yml b/.github/workflows/build-linux-musl.yml index 06673f06a..5f4ba2639 100644 --- a/.github/workflows/build-linux-musl.yml +++ b/.github/workflows/build-linux-musl.yml @@ -26,6 +26,9 @@ jobs: # https://gitlab.com/qemu-project/qemu/-/issues/1729 - arch: arm platform: linux/amd64 # linux/arm/v7 + # There is no docker image for riscv64 dart-sdk, build kernel snapshot instead. + - arch: riscv64 + platform: linux/amd64 # linux/riscv64 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index e36628c4a..c8f5ddd41 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -22,6 +22,10 @@ jobs: platform: linux/arm/v7 - arch: arm64 platform: linux/arm64 + # There is no docker image for riscv64 dart-sdk, build kernel snapshot instead. + # https://github.com/dart-lang/dart-docker/issues/96#issuecomment-1669860829 + - arch: riscv64 + platform: linux/amd64 # linux/riscv64 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 7036dfa34..ba9ff8bb1 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -18,10 +18,8 @@ jobs: runner: windows-latest - arch: ia32 runner: windows-latest - # The support of windows-arm64 dart-sdk is in beta. - # TODO: Enable this once windows-arm64 support is stable. - # - arch: arm64 - # runner: windows-latest + - arch: arm64 + runner: windows-latest steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6397a7741..5bf0228ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.72.1 + +* Add linux-riscv64 and windows-arm64 releases. + ## 1.72.0 * Support adjacent `/`s without whitespace in between when parsing plain CSS diff --git a/pubspec.yaml b/pubspec.yaml index ba9181c16..89a24f5cd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: sass -version: 1.72.0 +version: 1.72.1-dev description: A Sass implementation in Dart. homepage: https://github.com/sass/dart-sass