try to add some github post-commit actions, fix autobahn server test #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo snap install zig --classic --edge | |
zig version | |
- name: non-blocking test | |
run: zig build test -Dforce_blocking=false | |
- name: blocking test | |
run: zig build test -Dforce_blocking=true | |
- name: build server x86-linux-gnu | |
run: cd support/autobahn/server && zig build -Dtarget=x86-linux-gnu | |
- name: build server x86_64-linux-gnu | |
run: cd support/autobahn/server && zig build -Dtarget=x86_64-linux-gnu | |
- name: build server x86_64-windows-gnu | |
run: cd support/autobahn/server && zig build -Dtarget=build x86_64-windows-gnu | |
- name: build client x86-linux-gnu | |
run: cd support/autobahn/client && zig build -Dtarget=x86-linux-gnu | |
- name: build server x86_64-linux-gnu | |
run: cd support/autobahn/client && zig build -Dtarget=x86_64-linux-gnu | |
- name: build clietn x86_64-windows-gnu | |
run: cd support/autobahn/client && zig build -Dtarget=build x86_64-windows-gnu |