Skip to content

update license and readme #16

update license and readme

update license and readme #16

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v2.2.1
- name: Run fmt
run: zig build fmt
- name: check git diff
run: git diff --exit-code
- name: Check version
run: zig build version-check
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- target: x86_64-linux-gnu
- target: x86_64-linux-musl
- target: aarch64-linux-gnu
- target: aarch64-linux-musl
- target: x86_64-macos-none
- target: aarch64-macos-none
- target: x86_64-windows-gnu
- target: aarch64-windows-gnu
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v2.2.1
- name: build
run: zig build "-Dtarget=${{ matrix.target }}" install
- uses: actions/upload-artifact@v4
with:
name: "awk-${{ matrix.target }}"
path: zig-out/*