.NET: assume at least a Sandybridge CPU for x86_64 .NET packages

This commit is contained in:
Frank Denis 2023-09-11 00:15:20 +02:00
parent d84fbc2304
commit f60f6e9af4

View File

@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu.2.17 -Dcpu=baseline zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu.2.17 -Dcpu=sandybridge
- name: tests - name: tests
run: cd zig-out/bin && ./run.sh run: cd zig-out/bin && ./run.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
@ -114,7 +114,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: build - name: build
run: | run: |
zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl -Dcpu=baseline zig build -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl -Dcpu=sandybridge
- name: tests - name: tests
run: | run: |
cd zig-out/bin && ./run.sh cd zig-out/bin && ./run.sh