From 1a94faf611a394c08e122782ab36c7c9f6b27d08 Mon Sep 17 00:00:00 2001 From: JRPan <25518778+JRPan@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:22:27 -0500 Subject: [PATCH 1/2] adding github CI --- .github/workflows/short-tests.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/short-tests.yml diff --git a/.github/workflows/short-tests.yml b/.github/workflows/short-tests.yml new file mode 100644 index 000000000..2ef4feaae --- /dev/null +++ b/.github/workflows/short-tests.yml @@ -0,0 +1,27 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the mydev branch + push: + pull_request: + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + short-tests: + runs-on: ubuntu-latest + container: + image: tgrogers/accel-sim_regress:Ubuntu-22.04-cuda-11.7 + # env: + + # 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@v2 + - name: Run Simulation + run: /bin/bash $GITHUB_WORKSPACE/travis.sh From 1a92a79551e08aed023f2def61273598d446f2a0 Mon Sep 17 00:00:00 2001 From: JRPan <25518778+JRPan@users.noreply.github.com> Date: Mon, 22 Jan 2024 23:17:22 -0500 Subject: [PATCH 2/2] rename travis.sh to short-tests.sh --- .github/workflows/short-tests.yml | 2 +- travis.sh => short-tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename travis.sh => short-tests.sh (96%) diff --git a/.github/workflows/short-tests.yml b/.github/workflows/short-tests.yml index 2ef4feaae..c9882d540 100644 --- a/.github/workflows/short-tests.yml +++ b/.github/workflows/short-tests.yml @@ -24,4 +24,4 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - name: Run Simulation - run: /bin/bash $GITHUB_WORKSPACE/travis.sh + run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh diff --git a/travis.sh b/short-tests.sh similarity index 96% rename from travis.sh rename to short-tests.sh index 88f73d02e..73e07fde1 100755 --- a/travis.sh +++ b/short-tests.sh @@ -8,7 +8,7 @@ fi #Make the simulator export PATH=$CUDA_INSTALL_PATH/bin:$PATH; source ./gpu-simulator/setup_environment.sh -make -C ./gpu-simulator +make -j -C ./gpu-simulator #Get the pre-run trace files rm -rf ./hw_run/rodinia_2.0-ft