Skip to content

Commit

Permalink
adding in new runners
Browse files Browse the repository at this point in the history
  • Loading branch information
RCMast3r committed Dec 20, 2023
1 parent 6bba6fb commit 6029266
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/create_dbc_and_proto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: nix-proto-gen
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build-packages:
runs-on: ubuntu-latest
strategy:
matrix:
version: [23.11]
architecture: [x86_64-linux]
package: [tester]
language: [py]
steps:
- uses: cachix/install-nix-action@v23
- name: Get branch names
id: branch-name
uses: tj-actions/branch-names@v7
- uses: actions/checkout@v4
with:
repository: RCMast3r/data_acq
ref: refs/heads/master
- run: nix develop .#packages.${{matrix.architecture}}.ci --override-input nixpkgs github:NixOS/nixpkgs/release-${{ matrix.version}}
- run: ht_dbc_proto_creator
10 changes: 10 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@
export PS1="$(echo -e '\u${icon}') {\[$(tput sgr0)\]\[\033[38;5;228m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]} (${name}) \\$ \[$(tput sgr0)\]"
'';
};
devShells.x86_64-linux.ci=
pkgs.mkShell rec {
# Update the name to something that suites your project.
name = "nix-devshell";
packages = with pkgs; [
# Development Tools
py_dbc_proto_gen_pkg
];

};

};
}

0 comments on commit 6029266

Please sign in to comment.