Skip to content

Update README.md

Update README.md #240

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- name: Download deps
run: sudo apt-get update && sudo apt-get install libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libgl1-mesa-dev libglu1-mesa-dev
shell: bash
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- name: Build
run: zig build
build_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- name: Build
run: zig build
build_windows-mingw:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
- shell: msys2 {0}
run: |
pacman -Sy
pacman --noconfirm -S $MINGW_PACKAGE_PREFIX-cmake $MINGW_PACKAGE_PREFIX-gcc $MINGW_PACKAGE_PREFIX-ninja wget unzip git --needed
wget https://ziglang.org/builds/zig-windows-x86_64-0.13.0.zip
unzip -qq zig-windows-x86_64-0.13.0.zip
git submodule update --init --recursive
zig-windows-x86_64-0.13.0/zig build --search-prefix $MINGW_PREFIX
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- uses: seanmiddleditch/gha-setup-ninja@master
- name: build
shell: bash
run: zig build