normalize backslash on windows to forward slash #28
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: "Pull Request CI" | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
permissions: | |
contents: write | |
jobs: | |
build-pull-request: | |
strategy: | |
matrix: | |
target: | |
- "x86_64-linux-musl" | |
- "aarch64-linux-musl" | |
- "x86_64-macos" | |
- "aarch64-macos" | |
- "x86_64-windows" | |
- "aarch64-windows" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Zig | |
uses: goto-bus-stop/[email protected] | |
with: | |
version: ${{ vars.ZIG_VERSION }} | |
- name: Build | |
run: zig build -Dtarget=${{ matrix.target }} | |
test-pull-request: | |
strategy: | |
matrix: | |
os: | |
- "ubuntu-latest" | |
- "windows-latest" | |
- "macos-latest" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Zig | |
uses: goto-bus-stop/[email protected] | |
with: | |
version: ${{ vars.ZIG_VERSION }} | |
- name: Test | |
run: zig build test | |