Giter Club home page Giter Club logo

zig-toolsets's Issues

Upgrade to .NET 8

  • Update global.json.
  • Update all packages in Directory.Packages.props.
  • Switch to Cake as was done in Celerity.
  • Simplify GitHub Actions workflows.

Installing multiple packages in a single project produces indetermine output for the MSBuild props

As the title says - I'm working in a single project that can be compiled to different platforms, and as such need different packages to support different RIDs. So I have osx-x64,osx-arm64,and win-x64. Running build on the project seems to just choose whichever package was installed last as the path, so even if I'm running on win-x64 it may choose osx-x64.

To get around this I parse out the RID from the generated path with RegEX and replace it with the dev machine RID (and assume that the dev machine has the correct pacakge added), but I'd love a way if somehow the MSBuild props could be automatically intuited. Maybe one option could be to expose props that give you paths that represent the dev machine as well? So like ZigToolsetPath_DEV. Or just add in "static" props that put the onus on the dev to ensure the correct package is installed, like ZigToolsetPath_win-x64.

Hash verification problems on CI

CI failure: https://github.com/alexrp/zig-msbuild-toolsets/runs/2822284695?check_suite_focus=true

  Determining projects to restore...
  Downloading from "https://ziglang.org/download/0.8.0/zig-linux-aarch64-0.8.0.tar.xz" to "/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/linux-arm64/obj/zig-linux-aarch64-0.8.0.tar.xz" (37575428 bytes).
  Downloading from "https://ziglang.org/download/0.8.0/zig-linux-armv7a-0.8.0.tar.xz" to "/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/linux-arm/obj/zig-linux-armv7a-0.8.0.tar.xz" (38,884,212 bytes).
  Downloading from "https://ziglang.org/download/0.8.0/zig-linux-x86_64-0.8.0.tar.xz" to "/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/linux-x64/obj/zig-linux-x86_64-0.8.0.tar.xz" (41211184 bytes).
  Downloading from "https://ziglang.org/download/0.8.0/zig-macos-aarch64-0.8.0.tar.xz" to "/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/osx-arm64/obj/zig-macos-aarch64-0.8.0.tar.xz" (35,292,180 bytes).
  Downloading from "https://ziglang.org/download/0.8.0/zig-macos-x86_64-0.8.0.tar.xz" to "/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/osx-x64/obj/zig-macos-x86_64-0.8.0.tar.xz" (39969312 bytes).
  Downloading from "https://ziglang.org/download/0.8.0/zig-windows-x86_64-0.8.0.zip" to "/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/win-x64/obj/zig-windows-x86_64-0.8.0.zip" (61,766,193 bytes).
/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/Directory.Build.targets(35,9): error MSB3932: Failed to unzip file "obj/zig-windows-x86_64-0.8.0.zip" because the file does not exist or is inaccessible. [/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/win-x64/win-x64.csproj]
  Downloading from "https://ziglang.org/download/0.8.0/zig-windows-i386-0.8.0.zip" to "/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/win-x86/obj/zig-windows-i386-0.8.0.zip" (61,507,213 bytes).
/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/Directory.Build.targets(35,9): error MSB3932: Failed to unzip file "obj/zig-windows-i386-0.8.0.zip" because the file does not exist or is inaccessible. [/home/runner/work/zig-msbuild-toolsets/zig-msbuild-toolsets/win-x86/win-x86.csproj]
Error: Process completed with exit code 1.

Hash verification was removed in d739cfc (hopefully temporarily).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.