summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorWilliamMTK <[email protected]>2025-01-29 15:40:45 -0500
committerGitHub <[email protected]>2025-01-29 20:40:45 +0000
commit48af0c94ca6d7b05f800f535b3de4cefafcfa655 (patch)
tree13416ab3a165dde580fe847b06bde7c966482088 /.github/workflows
parent45caf76587642b7d5dcd8b0992c55114c9ced35e (diff)
Add accelsim test (#82)
* add_accelsim_test: add action and test script * add_accelsim_test: add error status to exit command
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/accelsim.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/accelsim.yml b/.github/workflows/accelsim.yml
new file mode 100644
index 0000000..7410352
--- /dev/null
+++ b/.github/workflows/accelsim.yml
@@ -0,0 +1,33 @@
+# Test backend changes with Accel-Sim
+
+name: Short-Tests-AccelSim
+
+# Controls when the workflow will run
+on:
+ push:
+ branches-ignore:
+ - "gh-readonly-queue**"
+ merge_group:
+ pull_request:
+
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+# By default regress against accel-sim's dev branch
+env:
+ ACCELSIM_BRANCH: dev
+
+# A workflow run is made up of one or more jobs that can run sequentially or in parallel
+jobs:
+ build-QV100:
+ runs-on: ubuntu-latest
+ container:
+ image: tgrogers/accel-sim_regress:Ubuntu-22.04-cuda-11.7
+
+ # Steps represent a sequence of tasks that will be executed as part of the job
+ steps:
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
+ - uses: actions/checkout@v4
+ - name: Run Simulation
+ run: /bin/bash $GITHUB_WORKSPACE/short-tests-accelsim.sh
+