mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-31 09:41:06 +00:00
* add IDL parser & generator (wip) * fix fixtures issues affecting tests * fix fixtures issues affecting tests
38 lines
800 B
YAML
38 lines
800 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: cachix/install-nix-action@v27
|
|
with:
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
|
|
- uses: cachix/cachix-action@v15
|
|
with:
|
|
name: logos-co
|
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
|
|
|
- name: Build tests
|
|
run: nix build '.#tests'
|
|
|
|
- name: Run SDK tests
|
|
run: ./result/bin/sdk_tests
|
|
|
|
- name: Run generator tests
|
|
run: ./result/bin/generator_tests
|
|
|
|
- name: Run experimental generator tests
|
|
run: ./result/bin/experimental_tests
|
|
env:
|
|
FIXTURES_DIR: ./result/fixtures
|