mirror of
https://github.com/google/cpu_features.git
synced 2025-10-19 08:10:51 +02:00

* build with Zig Add the necessary files to build a static library with Zig. The build also includes producing execuable that can be cross-compiled Signed-off-by: inge4pres <fgualazzi@gmail.com> * ci: add zig build workflow Signed-off-by: inge4pres <fgualazzi@gmail.com> * build(zig): aarch64 macros on Linux * CI: split zig build by platform Signed-off-by: inge4pres <fgualazzi@gmail.com> * CI: release script updates version in build.zig.zon Signed-off-by: inge4pres <fgualazzi@gmail.com> --------- Signed-off-by: inge4pres <fgualazzi@gmail.com>
14 lines
236 B
YAML
14 lines
236 B
YAML
name: Zig Check
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
zig-fmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: mlugg/setup-zig@v2
|
|
with:
|
|
version: latest
|
|
- run: zig fmt --check .
|