Skip to content

Commit

Permalink
testing CI...
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxinal committed Aug 9, 2024
1 parent ce0a541 commit 9c4251e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on: push

name: build and upload artifacts

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- uses: cachix/cachix-action@v14
with:
name: devenv
- name: Install devenv.sh
run: nix profile install nixpkgs#devenv
- name: Build
shell: devenv shell bash -- -e {0}
run: |
cargo build --release
mkdir dist
cp ./target/release/libvenkeybind.so ./dist/venkeybind-linux-x64.node
- name: upload
uses: actions/upload-artifact@v4
with:
path: ./dist/venkeybind-linux-x64.node
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ default = ["node"]
node = ["dep:node-bindgen"]

[workspace]
members = [
"./uiohook-sys"
]
members = ["./uiohook-sys"]

[build-dependencies]
node-bindgen = { version = "6.0", default-features = false, features = ["build"], optional = true }
node-bindgen = { version = "6.0", default-features = false, features = [
"build",
], optional = true }

0 comments on commit 9c4251e

Please sign in to comment.