From a4f6637601548a7158869ad155f29db50b151823 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Wed, 17 Jun 2026 15:49:09 -0300 Subject: License that respects our freedom and GNU stack --- .github/workflows/build.yml | 28 +++++----------------------- .github/workflows/docs.yml | 6 +++--- 2 files changed, 8 insertions(+), 26 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67b15d2..2ff5a86 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,31 +8,13 @@ on: jobs: build: - runs-on: windows-latest - strategy: - matrix: - preset: [x64-debug, x64-release] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up MSVC environment - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: x64 + - name: Install Nix + uses: cachix/install-nix-action@v27 - - name: Sync vcpkg baseline - run: | - $baseline = git -C $env:VCPKG_INSTALLATION_ROOT rev-parse HEAD - $json = Get-Content vcpkg.json | ConvertFrom-Json - $json.'builtin-baseline' = $baseline - $json | ConvertTo-Json | Set-Content vcpkg.json - - - name: Configure - run: cmake --preset ${{ matrix.preset }} - - - name: Build - run: cmake --build out/build/${{ matrix.preset }} - - - name: Test - run: ctest --test-dir out/build/${{ matrix.preset }} --output-on-failure + - name: Build and test + run: nix build --print-build-logs diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 09486ca..aed76e2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -22,11 +22,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Install Doxygen - run: sudo apt-get update && sudo apt-get install -y doxygen graphviz + - name: Install Nix + uses: cachix/install-nix-action@v27 - name: Generate documentation - run: doxygen Doxyfile + run: nix develop --command doxygen Doxyfile - name: Upload Pages artifact uses: actions/upload-pages-artifact@v3 -- cgit v1.2.3