Compare commits

...

2 Commits

Author SHA1 Message Date
3d2fdb8372
build with zig master also
Some checks are pending
CI / build (macos-latest, master) (push) Waiting to run
CI / build (ubuntu-latest, 0.12.1) (push) Waiting to run
CI / build (ubuntu-latest, 0.13.0) (push) Waiting to run
CI / build (ubuntu-latest, master) (push) Waiting to run
CI / build (windows-latest, master) (push) Waiting to run
`aarch64_32` has ceased to exist. Actually, I'm not sure it should have
been used on this switch prong anyway.
2024-09-14 17:40:41 -07:00
f573916b56
integrate, continuously 2024-09-14 17:33:58 -07:00
2 changed files with 38 additions and 2 deletions

38
.github/workflows/ci.yaml vendored Normal file
View File

@ -0,0 +1,38 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
zig-version: [master]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- zig-version: "0.12.1"
os: ubuntu-latest
- zig-version: "0.13.0"
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
- name: Check Formatting
run: zig fmt --ast-check --check .
- name: Build
run: zig build --summary all

View File

@ -319,7 +319,6 @@ pub fn build(b: *std.Build) !void {
const conf_header = upstream.path(switch (tinfo.cpu.arch) {
.aarch64,
.aarch64_be,
.aarch64_32,
=> source_header_prefix ++ "arch/aarch64/opensslconf.h",
.x86 => source_header_prefix ++ "arch/i386/opensslconf.h",
.riscv64 => source_header_prefix ++ "arch/riscv64/opensslconf.h",
@ -356,7 +355,6 @@ pub fn build(b: *std.Build) !void {
switch (tinfo.cpu.arch) {
.aarch64,
.aarch64_be,
.aarch64_32,
=> libressl_libs.libcrypto.addIncludePath(
upstream.path(libcrypto_src_prefix ++ "bn/arch/aarch64"),
),