Skip to content

[update] windows

[update] windows #11

Workflow file for this run

name: ci
on:
pull_request:
branches:
- trunk
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: tiawl/[email protected]
- uses: actions/checkout@v4
- uses: mlugg/setup-zig@v1
with:
version: ${{ env.zig_version }}
- name: Test building examples
shell: bash
run:
zig build --build-file "${GITHUB_WORKSPACE}/examples/build.zig"
- name: Run examples
shell: bash
run:
env -C ./examples ./zig-out/bin/examples
windows:

Check failure on line 25 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
strategy:
fail-fast: false
matrix:
arch:
- amd64
- i386
include:
- arch: amd64
msystem: UCRT64
- arch: i386
msystem: MINGW32
runs-on: windows-2022
env:
LDFLAGS: -s
SUFFIX: windows-${{ matrix.arch }}
defaults:
run:
shell: msys2 {0}
- uses: msys2/setup-msys2@v2
with:
update: true
msystem: ${{ matrix.msystem }}
install: >-
base-devel
git
autoconf
automake
libtool
pacboy: >-
toolchain:p
- shell: bash
run: |
git clone https://github.com/jqlang/jq test
env -C ./test git submodule update --init
env -C ./test autoreconf -i
env -C ./test ./configure --disable-docs --disable-valgrind --with-oniguruma=builtin --disable-shared --enable-static --enable-all-static CFLAGS="-O2 -pthread -fstack-protector-all"
cat test/Makefile
exit 1