Skip to content

Commit

Permalink
Fix CI bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
sepcnt committed May 19, 2024
1 parent 0d51264 commit 3e1b948
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- run: rustup component add clippy
- uses: Swatinem/rust-cache@v2
with:
# To only cache runs from `master`:
Expand All @@ -27,7 +28,7 @@ jobs:
with:
cuda: '12.4.1'
method: 'network'
sub-packages: '["nvcc"]'
sub-packages: '[ "nvcc", "cudart", "cudart-dev", "nvrtc", "nvrtc-dev" ]'
if: matrix.os != 'macOS-latest'

- name: Clippy Check
Expand Down
1 change: 1 addition & 0 deletions src/hvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <threads.h>
#else
#include <pthread.h>
#include <time.h>
typedef pthread_t thrd_t;
typedef void* thrd_start_t;
#define thrd_create(a, b, c) pthread_create(a, NULL, b, c)
Expand Down

0 comments on commit 3e1b948

Please sign in to comment.