aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-06-17 15:49:09 -0300
committerGitHub <noreply@github.com>2026-06-17 15:49:09 -0300
commita4f6637601548a7158869ad155f29db50b151823 (patch)
tree5357cf5639a3981a7fe01c0ac1bbbad572acc5f1 /.github
parent5174fc25698cff33b03b5746bf1742e417988f7d (diff)
downloadRNT-a4f6637601548a7158869ad155f29db50b151823.tar.gz
RNT-a4f6637601548a7158869ad155f29db50b151823.zip
License that respects our freedom and GNU stack
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml28
-rw-r--r--.github/workflows/docs.yml6
2 files changed, 8 insertions, 26 deletions
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