use zig package manager (requires master) #96
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: Linux | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: master | |
- name: Install buildtools | |
run: | | |
sudo apt update | |
sudo apt install build-essential qtbase5-dev qtbase5-private-dev \ | |
qtdeclarative5-dev qtquickcontrols2-5-dev qml-module-qtquick2 \ | |
qml-module-qtquick-controls2 qml-module-qtquick-window2 cmake -y | |
- name: Build & Tests | |
run: | | |
zig build cmake | |
zig build --summary all -freference-trace |