Skip to content

Commit

Permalink
downgrade from x86_64_v3 to x86_64_v2 (remove AVX/AVX2 requirement)
Browse files Browse the repository at this point in the history
Helps hexops/mach#989

Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Aug 15, 2023
1 parent 93b4cea commit d7b308b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: update build.zig
run: mv build.zig.local build.zig
- name: install (debug)
run: zig build install -Dcpu=x86_64_v3 -Dtarget=x86_64-linux-gnu
run: zig build install -Dcpu=x86_64_v2 -Dtarget=x86_64-linux-gnu
- name: upload (debug)
run: ./dev/upload-release.sh
env:
Expand All @@ -41,7 +41,7 @@ jobs:
- name: update build.zig
run: mv build.zig.local build.zig
- name: install (release-fast)
run: zig build install -Dcpu=x86_64_v3 -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu
run: zig build install -Dcpu=x86_64_v2 -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu
- name: upload (release-fast)
run: ./dev/upload-release.sh
env:
Expand All @@ -62,7 +62,7 @@ jobs:
- name: update build.zig
run: mv build.zig.local build.zig
- name: install (debug)
run: zig build install -Dtarget=x86_64-linux-musl -Dcpu=x86_64_v3
run: zig build install -Dtarget=x86_64-linux-musl -Dcpu=x86_64_v2
- name: upload (debug)
run: ./dev/upload-release.sh
env:
Expand All @@ -83,7 +83,7 @@ jobs:
- name: update build.zig
run: mv build.zig.local build.zig
- name: install (release-fast)
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl -Dcpu=x86_64_v3
run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl -Dcpu=x86_64_v2
- name: upload (release-fast)
run: ./dev/upload-release.sh
env:
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
- name: update build.zig
run: mv -force build.zig.local build.zig
- name: install (debug)
run: zig build install -Dtarget=x86_64-windows-gnu -Dcpu=x86_64_v3
run: zig build install -Dtarget=x86_64-windows-gnu -Dcpu=x86_64_v2
- name: upload (debug)
run: ./dev/upload-release.sh
shell: bash
Expand All @@ -217,7 +217,7 @@ jobs:
- name: update build.zig
run: mv -force build.zig.local build.zig
- name: install (release-fast)
run: zig build install -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast -Dcpu=x86_64_v3
run: zig build install -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast -Dcpu=x86_64_v2
- name: upload (release-fast)
run: ./dev/upload-release.sh
shell: bash
Expand Down

0 comments on commit d7b308b

Please sign in to comment.