diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2026-06-17 15:49:09 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-17 15:49:09 -0300 |
| commit | a4f6637601548a7158869ad155f29db50b151823 (patch) | |
| tree | 5357cf5639a3981a7fe01c0ac1bbbad572acc5f1 /.github/workflows/build.yml | |
| parent | 5174fc25698cff33b03b5746bf1742e417988f7d (diff) | |
| download | RNT-a4f6637601548a7158869ad155f29db50b151823.tar.gz RNT-a4f6637601548a7158869ad155f29db50b151823.zip | |
License that respects our freedom and GNU stack
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 28 |
1 files changed, 5 insertions, 23 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 |
