Files
matar/.github/workflows/gcc.yml
Amneesh Singh d1df555a6a fix gcc build
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2024-06-14 05:48:13 +05:30

31 lines
721 B
YAML

name: matar-gcc
on: [push, pull_request, workflow_dispatch]
env:
BUILDDIR: build
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v15
with:
name: pain
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: setup
run: nix develop .#matar -c meson setup $BUILDDIR
- name: build
run: nix develop .#matar -c ninja -C $BUILDDIR
- name: tests
run: nix develop .#matar -c ninja test -C $BUILDDIR