Skip to content

Added basic support for bitfields #53

Added basic support for bitfields

Added basic support for bitfields #53

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
- name: build
run: zig build -freference-trace
- name: test release
run: zig build test -Doptimize=ReleaseFast -freference-trace
- name: test debug
run: zig build test -freference-trace
zig-msvc:
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
- name: build
run: zig build -freference-trace -Dtarget=native-windows-msvc
# - name: Run transpiler
# run: |
# ./zig-out/bin/c2z.exe $PWD/use_cases/common_cases/include/c013_cpp_vector.h
# Get-Content $PWD/x86_64/windows/msvc/c013_cpp_vector.zig
- name: test release
run: zig build test -Doptimize=ReleaseFast -freference-trace -Dtarget=native-windows-msvc
- name: test debug
run: zig build test -freference-trace -Dtarget=native-windows-msvc