elf: final stretch before upstreaming #934
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: | |
build: | |
name: Build and test | |
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 | |
with: | |
submodules: true | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: master | |
- run: zig version | |
- run: zig fmt --check src | |
- run: zig build test --summary all -Dhas-static -Dhas-static-pie | |