From ca9d2da21004192a0822b3a135ac401ed8140ebd Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 14:49:23 +0100 Subject: [PATCH 1/8] test --- CI.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CI.nix b/CI.nix index a7602a1..cfc0096 100644 --- a/CI.nix +++ b/CI.nix @@ -9,8 +9,9 @@ let pkgs = import (builtins.fetchTarball https://github.com/NixOS/nixpkgs/archiv rustPlatform = pkgs.makeRustPlatform { rustc = rustc; cargo = cargo;}; in pkgs.mkShell { + inputsFrom = [ (pkgs.callPackage ./default.nix { inherit rustPlatform; }) ]; buildInputs = [ - (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "nix"; rev = "2ecd26beeba14c0d66bda5ec471d68747e0b33b3";}) {}) + (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "9836f592dcfc6701196969c01ea8dc051b786011";}) {}) pkgs.pkg-config pkgs.rust-bin.stable.latest.rust-analyzer # LSP Server pkgs.rust-bin.stable.latest.rustfmt # Formatter From 2a4d2eff48950c4b83c26a3633821bff6b71f9bc Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 14:53:01 +0100 Subject: [PATCH 2/8] test --- CI.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI.nix b/CI.nix index cfc0096..43c0395 100644 --- a/CI.nix +++ b/CI.nix @@ -11,7 +11,7 @@ in pkgs.mkShell { inputsFrom = [ (pkgs.callPackage ./default.nix { inherit rustPlatform; }) ]; buildInputs = [ - (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "9836f592dcfc6701196969c01ea8dc051b786011";}) {}) + (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "69821b1c0dce77daba8532e4baef92edc8f3a852";}) {}) pkgs.pkg-config pkgs.rust-bin.stable.latest.rust-analyzer # LSP Server pkgs.rust-bin.stable.latest.rustfmt # Formatter From a41f2cc41a2a5efb34013f86578a446a159dd266 Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 15:05:00 +0100 Subject: [PATCH 3/8] test --- CI.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI.nix b/CI.nix index 43c0395..d4dc6bb 100644 --- a/CI.nix +++ b/CI.nix @@ -11,7 +11,7 @@ in pkgs.mkShell { inputsFrom = [ (pkgs.callPackage ./default.nix { inherit rustPlatform; }) ]; buildInputs = [ - (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "69821b1c0dce77daba8532e4baef92edc8f3a852";}) {}) + (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "b8f064275faa777b4328b16618775dfe13a3e7cc";}) {}) pkgs.pkg-config pkgs.rust-bin.stable.latest.rust-analyzer # LSP Server pkgs.rust-bin.stable.latest.rustfmt # Formatter From dd58e13dcd28ae61844cf80d3930d8d08a8b7823 Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 15:10:04 +0100 Subject: [PATCH 4/8] test --- CI.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI.nix b/CI.nix index d4dc6bb..26490bd 100644 --- a/CI.nix +++ b/CI.nix @@ -11,7 +11,7 @@ in pkgs.mkShell { inputsFrom = [ (pkgs.callPackage ./default.nix { inherit rustPlatform; }) ]; buildInputs = [ - (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "b8f064275faa777b4328b16618775dfe13a3e7cc";}) {}) + (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "6699433e7a30f4eb406df7e0d163be1b16b3f507";}) {}) pkgs.pkg-config pkgs.rust-bin.stable.latest.rust-analyzer # LSP Server pkgs.rust-bin.stable.latest.rustfmt # Formatter From 52e6662ab3f917fecd7fc0ff95015acd54c21f0c Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 15:41:17 +0100 Subject: [PATCH 5/8] test --- CI.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI.nix b/CI.nix index 26490bd..07a4c55 100644 --- a/CI.nix +++ b/CI.nix @@ -11,7 +11,7 @@ in pkgs.mkShell { inputsFrom = [ (pkgs.callPackage ./default.nix { inherit rustPlatform; }) ]; buildInputs = [ - (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "6699433e7a30f4eb406df7e0d163be1b16b3f507";}) {}) + (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "4513fbdafc0d386e18ae651dc8c5929cb9e5fb74";}) {}) pkgs.pkg-config pkgs.rust-bin.stable.latest.rust-analyzer # LSP Server pkgs.rust-bin.stable.latest.rustfmt # Formatter From 43771e082ef8db142231389adc9a862cd8d4aabb Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 21:57:35 +0100 Subject: [PATCH 6/8] test --- .github/workflows/build.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddf5401..acf8377 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,11 +5,22 @@ on: branches: - main jobs: - tests: + build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@v31 with: nix_path: nixpkgs=channel:nixos-unstable - - run: nix-shell CI.nix --command "cargo build" + - uses: DeterminateSystems/magic-nix-cache-action@v2 + - run: nix-shell CI.nix --command "cargo build && cargo doc" + + # uplood docs + - name: Upload to GitHub Pages (main branch only) + if: github.ref == 'refs/heads/main' + uses: actions/upload-pages-artifact@v3 + with: + path: target/doc/freeswitch_rs/ + - name: Deploy to GitHub Pages (main branch only) + if: github.ref == 'refs/heads/main' + uses: actions/deploy-pages@v4 From 70bab234a15a2ec005415bc2de181030d05a8bd4 Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 22:10:53 +0100 Subject: [PATCH 7/8] test --- CI.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/CI.nix b/CI.nix index 07a4c55..6007307 100644 --- a/CI.nix +++ b/CI.nix @@ -13,9 +13,7 @@ pkgs.mkShell { buildInputs = [ (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "4513fbdafc0d386e18ae651dc8c5929cb9e5fb74";}) {}) pkgs.pkg-config - pkgs.rust-bin.stable.latest.rust-analyzer # LSP Server pkgs.rust-bin.stable.latest.rustfmt # Formatter pkgs.rust-bin.stable.latest.clippy # Linter ]; - RUST_SRC_PATH = "${rustc}/lib/rustlib/src/rust/library/"; } From 754a843720dff0e4e9c916dd79b3c4c34b4c72dc Mon Sep 17 00:00:00 2001 From: Ashley Arthur Date: Mon, 6 Oct 2025 22:42:00 +0100 Subject: [PATCH 8/8] test --- CI.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CI.nix b/CI.nix index 6007307..cb9e247 100644 --- a/CI.nix +++ b/CI.nix @@ -11,7 +11,7 @@ in pkgs.mkShell { inputsFrom = [ (pkgs.callPackage ./default.nix { inherit rustPlatform; }) ]; buildInputs = [ - (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "github_action_debug"; rev = "4513fbdafc0d386e18ae651dc8c5929cb9e5fb74";}) {}) + (import (builtins.fetchGit { url = "https://github.com/ash30/freeswitch"; ref = "nix"; rev = "d805600c0f4843528290a0d018bb1fbb5b56808f";}) {}) pkgs.pkg-config pkgs.rust-bin.stable.latest.rustfmt # Formatter pkgs.rust-bin.stable.latest.clippy # Linter