Skip to content

Commit

Permalink
install file
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelyr committed Nov 1, 2024
1 parent 46c51fd commit 906c0c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: build-test
on:
push:
schedule:
- cron: '12 14 * * 3'
# on:
# push:
# schedule:
# - cron: '12 14 * * 3'

jobs:
buildTest:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-globus.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
with open('perlmutter/install.sh', 'rb') as file:
install_file = file.read()

def run_on_endpoint(name, branch):
def run_on_endpoint(name, branch, install_file):
import subprocess

install = subprocess.run([install_file], shell=True, encoding="utf_8", stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
return (install, None)

gce = Executor(endpoint_id = endpoint)
future = gce.submit(run_on_endpoint, name, branch)
future = gce.submit(run_on_endpoint, name, branch, install_file)
result = future.result()

os.popen("mkdir -p "+name+"-result").read()
Expand Down

0 comments on commit 906c0c8

Please sign in to comment.