diff --git a/.github/workflows/ci-pr-riscv64-linux.yaml b/.github/workflows/ci-pr-riscv64-linux.yaml deleted file mode 100644 index a6ba740816..0000000000 --- a/.github/workflows/ci-pr-riscv64-linux.yaml +++ /dev/null @@ -1,35 +0,0 @@ -name: ci-pr-riscv64-linux -on: - pull_request: - types: - - labeled - - opened - - reopened - - synchronize - - unlabeled -concurrency: - # Cancels pending runs when a PR gets updated. - group: riscv64-linux-${{ github.head_ref || github.run_id }}-${{ github.actor }} - cancel-in-progress: true -permissions: - # Sets permission policy for `GITHUB_TOKEN` - contents: read -jobs: - riscv64-linux-debug: - if: contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux') - timeout-minutes: 420 - runs-on: [self-hosted, Linux, riscv64] - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Build and Test - run: sh ci/riscv64-linux-debug.sh - riscv64-linux-release: - if: contains(github.event.pull_request.labels.*.name, 'ci-riscv64-linux') - timeout-minutes: 420 - runs-on: [self-hosted, Linux, riscv64] - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Build and Test - run: sh ci/riscv64-linux-release.sh diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9b3b336b30..270c0b0092 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,24 +51,6 @@ jobs: uses: actions/checkout@v4 - name: Build and Test run: sh ci/aarch64-linux-release.sh - riscv64-linux-debug: - if: github.event_name == 'push' - timeout-minutes: 420 - runs-on: [self-hosted, Linux, riscv64] - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Build and Test - run: sh ci/riscv64-linux-debug.sh - riscv64-linux-release: - if: github.event_name == 'push' - timeout-minutes: 420 - runs-on: [self-hosted, Linux, riscv64] - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Build and Test - run: sh ci/riscv64-linux-release.sh x86_64-macos-release: runs-on: "macos-13" env: diff --git a/CMakeLists.txt b/CMakeLists.txt index ef371fcdd3..0ab8e1cddd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ project(zig set(ZIG_VERSION_MAJOR 0) set(ZIG_VERSION_MINOR 15) -set(ZIG_VERSION_PATCH 1) +set(ZIG_VERSION_PATCH 2) set(ZIG_VERSION "" CACHE STRING "Override Zig version string. Default is to find out with git.") if("${ZIG_VERSION}" STREQUAL "") diff --git a/bootstrap.c b/bootstrap.c index b6345987a9..1f17fc8455 100644 --- a/bootstrap.c +++ b/bootstrap.c @@ -64,6 +64,8 @@ static const char *get_host_os(void) { return "linux"; #elif defined(__FreeBSD__) return "freebsd"; +#elif defined(__DragonFly__) + return "dragonfly"; #elif defined(__HAIKU__) return "haiku"; #else diff --git a/build.zig b/build.zig index d6ffd42811..4a4835f2e5 100644 --- a/build.zig +++ b/build.zig @@ -33,7 +33,7 @@ const zig0_cflags = &[_][]const u8{ }; const zig0_compilers = &[_][]const u8{ "zig", "clang", "gcc", "tcc" }; -const zig_version: std.SemanticVersion = .{ .major = 0, .minor = 15, .patch = 1 }; +const zig_version: std.SemanticVersion = .{ .major = 0, .minor = 15, .patch = 2 }; const stack_size = 46 * 1024 * 1024; pub fn build(b: *std.Build) !void { @@ -296,15 +296,15 @@ pub fn build(b: *std.Build) !void { 2 => { // Untagged development build (e.g. 0.10.0-dev.2025+ecf0050a9). var it = mem.splitScalar(u8, git_describe, '-'); - //const tagged_ancestor = it.first(); + const tagged_ancestor = it.first(); const commit_height = it.next().?; const commit_id = it.next().?; - //const ancestor_ver = try std.SemanticVersion.parse(tagged_ancestor); - //if (zig_version.order(ancestor_ver) != .gt) { - // std.debug.print("Zig version '{f}' must be greater than tagged ancestor '{f}'\n", .{ zig_version, ancestor_ver }); - // std.process.exit(1); - //} + const ancestor_ver = try std.SemanticVersion.parse(tagged_ancestor); + if (zig_version.order(ancestor_ver) != .gt) { + std.debug.print("Zig version '{f}' must be greater than tagged ancestor '{f}'\n", .{ zig_version, ancestor_ver }); + std.process.exit(1); + } // Check that the commit hash is prefixed with a 'g' (a Git convention). if (commit_id.len < 1 or commit_id[0] != 'g') { diff --git a/doc/langref.html.in b/doc/langref.html.in index 94eeff3f89..e231a4e945 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -317,7 +317,7 @@ 0.12.0 | 0.13.0 | 0.14.1 | - 0.15.1 | + 0.15.2 | master