Skip to content

Commit

Permalink
test inside bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
geedo0 committed Aug 21, 2024
1 parent 4bf6b95 commit 8cada89
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
mkdir -p -m 0755 /var/empty
groupadd sshd
useradd -g sshd -c 'sshd privsep' -d /var/empty -s /bin/false sshd
- name: experiment
run: |
env
echo $USER
echo ~$USER
# echo $HOME
# echo ~
cat /etc/passwd
grep $USER /etc/passwd | cut -d ':' -f6
exit -1
- name: Clone liboqs
run: ./oqs-scripts/clone_liboqs.sh
- name: Build liboqs
Expand Down
9 changes: 9 additions & 0 deletions oqs-scripts/clone_liboqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
# - LIBOQS_BRANCH: which branch to check out, "main" by default
###########

env
echo $USER
echo ~$USER
# echo $HOME
# echo ~
cat /etc/passwd
grep $USER /etc/passwd | cut -d ':' -f6
exit -1

set -exo pipefail

LIBOQS_REPO=${LIBOQS_REPO:-"https://github.com/open-quantum-safe/liboqs.git"}
Expand Down

0 comments on commit 8cada89

Please sign in to comment.