Skip to content

Commit

Permalink
correct faketime format
Browse files Browse the repository at this point in the history
  • Loading branch information
lfarrel6 committed Jan 23, 2024
1 parent 1ccb7bb commit ef4a7d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy-node-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ jobs:
run: |
set -e
apt-get install -y libfaketime
export FAKETIME="1695050165"
export FAKETIME="2023-09-18 15:16:05"
LD_PRELOAD=/usr/lib/aarch64-linux-gnu/faketime/libfaketime.so.1 yarn test
ls -la
# test-linux-aarch64-musl-binding:
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
# run: |
# apk upgrade ; apk update ; apk add nodejs npm yarn
# apk add libfaketime --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
# export FAKETIME="1695050165"
# export FAKETIME="2023-09-18 15:16:05"
# LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 yarn test || exit 1
test-linux-arm-gnueabihf-binding:
name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }}
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
run: |
set -e
apt-get install -y libfaketime
export FAKETIME="1695050165"
export FAKETIME="2023-09-18 15:16:05"
LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/faketime/libfaketime.so.1 yarn test
ls -la
universal-macOS:
Expand Down
2 changes: 1 addition & 1 deletion node-attestation-bindings/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sudo apt-get install -y libfaketime

[tasks.test]
dependencies = ["build", "add_lib_faketime"]
env = { "LD_PRELOAD" = "/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1", "FAKETIME" = "1695050165" }
env = { "LD_PRELOAD" = "/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1", "FAKETIME" = "2023-09-18 15:16:05" }
command = "yarn"
args = ["test"]

Expand Down

0 comments on commit ef4a7d9

Please sign in to comment.