macho: set first and last atom indexes to 0 when marking section for … #1016
Workflow file for this run
This file contains 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: CI | |
on: [push, pull_request] | |
jobs: | |
default_tools: | |
name: Test default system tools | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
# https://github.com/kubkon/zld/issues/44 | |
# os: [macos, ubuntu, windows] | |
os: [macos, ubuntu] | |
steps: | |
- if: matrix.os == 'windows' | |
run: git config --global core.autocrlf false | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: master | |
- run: zig version | |
- run: zig fmt --check src | |
- run: zig build test -Dhas-static | |
gcc_musl: | |
name: Test gcc with musl | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: master | |
- run: sudo apt-get install -y musl-tools | |
- run: zig version | |
- run: CC=musl-gcc zig build test -Dhas-static -Dmusl | |
clang_glibc: | |
name: Test clang with glibc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: master | |
- run: sudo apt-get install -y clang | |
- run: zig version | |
- run: CC=clang zig build test -Dhas-static -Dsystem-compiler=clang |