Implement per-test arena allocation for better memory isolation #21
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: push | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v3 | |
| - name: Install Zig | |
| uses: mlugg/setup-zig@v1 | |
| with: | |
| version: 0.14.0 | |
| - name: Build Windows | |
| run: "zig build -Dtarget=x86_64-windows -Doptimize=ReleaseSafe -Dexe_name=httpspec_windows_x86" | |
| - name: Build Mac_x86 | |
| run: "zig build -Dtarget=x86_64-macos -Doptimize=ReleaseSafe -Dexe_name=httpspec_mac_x86" | |
| - name: Build Mac_ARM | |
| run: "zig build -Dtarget=aarch64-macos -Doptimize=ReleaseSafe -Dexe_name=httpspec_mac_arm" | |
| - name: Build Linux_x86 | |
| run: "zig build -Dtarget=x86_64-linux -Doptimize=ReleaseSafe -Dexe_name=httpspec_linux_x86" | |
| - name: Build Linux_ARM | |
| run: "zig build -Dtarget=aarch64-linux -Doptimize=ReleaseSafe -Dexe_name=httpspec_linux_arm" | |
| - name: Generate Checksums | |
| run: | | |
| cd ./zig-out/bin | |
| sha256sum httpspec_windows_x86.exe httpspec_mac_x86 httpspec_mac_arm httpspec_linux_x86 httpspec_linux_arm > checksums.txt | |
| - name: Release | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| files: | | |
| ./zig-out/bin/httpspec_windows_x86.exe | |
| ./zig-out/bin/httpspec_mac_x86 | |
| ./zig-out/bin/httpspec_mac_arm | |
| ./zig-out/bin/httpspec_linux_x86 | |
| ./zig-out/bin/httpspec_linux_arm | |
| ./zig-out/bin/checksums.txt | |
| LICENSE | |