fix: LICENSE and README in bin dir when updating #170
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: ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: mlugg/setup-zig@v2 | |
| with: | |
| version: "0.15.1" | |
| - run: zig fmt --check *.zig src/*.zig | |
| install-sh: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ludeeus/action-shellcheck@2.0.0 | |
| with: | |
| scandir: "./scripts/" | |
| build: | |
| strategy: | |
| matrix: | |
| target: | |
| - "x86_64-macos-none" | |
| - "aarch64-macos-none" | |
| - "aarch64-linux-gnu" | |
| - "x86_64-linux-gnu" | |
| - "x86-linux-gnu" | |
| - "x86_64-windows-msvc" | |
| - "x86-windows-msvc" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: mlugg/setup-zig@v2 | |
| with: | |
| version: "0.15.1" | |
| - run: zig build -Dtarget=${{ matrix.target }} | |
| - run: zig build test |