diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1339a8bb..fa555e28 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -143,11 +143,25 @@ jobs: Move-Item -Path target\${{ matrix.build.target }}\production\space-acres.exe -Destination target\${{ matrix.build.target }}\production\space-acres-modern.exe if: runner.os == 'Windows' && matrix.build.modern-rustflags - - name: Build app (Linux and Windows, normal) + - name: Build app (Linux, normal) env: RUSTFLAGS: ${{ matrix.build.rustflags }} - run: cargo -Zgitoxide -Zgit build --locked -Z build-std --target ${{ matrix.build.target }} --profile production - if: runner.os != 'macOS' + # TODO: Removing of `target` is a workaround for https://github.com/supranational/blst/issues/207 + run: | + rm -rf target/${{ matrix.build.target }}/production/build + rm -rf target/${{ matrix.build.target }}/production/deps + cargo -Zgitoxide -Zgit build --locked -Z build-std --target ${{ matrix.build.target }} --profile production + if: runner.os == 'Linux' + + - name: Build app (Windows, normal) + env: + RUSTFLAGS: ${{ matrix.build.rustflags }} + # TODO: Removing of `target` is a workaround for https://github.com/supranational/blst/issues/207 + run: | + Remove-Item target\${{ matrix.build.target }}\production\build -Recurse -Confirm:$false + Remove-Item target\${{ matrix.build.target }}\production\deps -Recurse -Confirm:$false + cargo -Zgitoxide -Zgit build --locked -Z build-std --target ${{ matrix.build.target }} --profile production + if: runner.os == 'Windows' # TODO: Remove special case once `numa` feature of farmer works properly on macOS - name: Build app (macOS) diff --git a/Cargo.lock b/Cargo.lock index 9ed35317..58d3fee7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10751,7 +10751,7 @@ dependencies = [ [[package]] name = "space-acres" -version = "0.1.9" +version = "0.1.10" dependencies = [ "anyhow", "arc-swap", diff --git a/Cargo.toml b/Cargo.toml index b0a7692b..3090e6d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "space-acres" description = "Space Acres is an opinionated GUI application for farming on Subspace Network" license = "0BSD" -version = "0.1.9" +version = "0.1.10" authors = ["Nazar Mokrynskyi "] repository = "https://github.com/subspace/space-acres" edition = "2021"