Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
leeopop committed Feb 19, 2024
1 parent e3b253a commit 3de3da7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ RUN rm /rust-toolchain
# End of rust user install

# Beginning of user ci script
ADD . /home/$USER_NAME/ci
RUN chown -R $USER_NAME:$USER_NAME /home/$USER_NAME/ci
WORKDIR /home/$USER_NAME/ci
ADD . /home/$USER_NAME/
RUN chown -R $USER_NAME:$USER_NAME /home/$USER_NAME
WORKDIR /home/$USER_NAME
RUN su -c "./ci.sh" - $USER_NAME
# End of user ci script

Expand Down
10 changes: 10 additions & 0 deletions ci.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
#!/bin/bash
echo "hello world"

# Check program version
clang --version
llvm-config --version
cargo --version
gcc --version

# Build and test
cargo build --verbose
cargo test --verbose

0 comments on commit 3de3da7

Please sign in to comment.