diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a04ee58..e03f712 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,7 @@ on: jobs: test: name: Build mode ${{ matrix.build_mode }} - runs-on: ubuntu-latest + runs-on: ubuntu-18.04 strategy: matrix: build_mode: ["", -Drelease-fast, -Drelease-safe, -Drelease-small] diff --git a/build.zig b/build.zig index b20804c..3684b6b 100644 --- a/build.zig +++ b/build.zig @@ -264,7 +264,7 @@ const RamdiskStep = struct { out_file_path: []const u8, /// The possible errors for creating a ramdisk - const Error = (error{EndOfStream} || File.ReadError || File.GetPosError || Allocator.Error || File.WriteError || File.OpenError); + const Error = (error{EndOfStream} || File.ReadError || File.SeekError || Allocator.Error || File.WriteError || File.OpenError); /// /// Create and write the files to a raw ramdisk in the format: