From b2f0ebee9a964b93882188d84e6ccd0f61996087 Mon Sep 17 00:00:00 2001 From: JRPan <25518778+JRPan@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:16:57 -0500 Subject: [PATCH] update CI scripts --- .github/workflows/main.yml | 36 ++++++++++++++++++------------------ travis.sh => short-tests.sh | 2 -- 2 files changed, 18 insertions(+), 20 deletions(-) rename travis.sh => short-tests.sh (94%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 115b11b23..a5a736adb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,48 +16,48 @@ jobs: build-GTX480: runs-on: ubuntu-latest container: - image: tgrogers/gpgpu-sim_regress:volta_update + image: tgrogers/accel-sim_regress:Ubuntu-22.04-cuda-11.7 env: CONFIG: GTX480 - CUDA_INSTALL_PATH: /usr/local/cuda-4.2/ - PTXAS_CUDA_INSTALL_PATH: /usr/local/cuda-4.2/ - GPUAPPS_ROOT: /home/runner/gpgpu-sim_simulations/benchmarks + # CUDA_INSTALL_PATH: /usr/local/cuda-4.2/ + # PTXAS_CUDA_INSTALL_PATH: /usr/local/cuda-4.2/ + # GPUAPPS_ROOT: /home/runner/gpgpu-sim_simulations/benchmarks # 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 + - uses: actions/checkout - name: Run Simulation - run: /bin/bash $GITHUB_WORKSPACE/travis.sh + run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh build-TITANV: runs-on: ubuntu-latest container: - image: tgrogers/gpgpu-sim_regress:volta_update + image: tgrogers/accel-sim_regress:Ubuntu-22.04-cuda-11.7 env: CONFIG: TITANV - CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ - PTXAS_CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ - GPUAPPS_ROOT: /home/runner/gpgpu-sim_simulations/benchmarks + # CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ + # PTXAS_CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ + # GPUAPPS_ROOT: /home/runner/gpgpu-sim_simulations/benchmarks # 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 + - uses: actions/checkout - name: Run Simulation - run: /bin/bash $GITHUB_WORKSPACE/travis.sh + run: /bin/bash $GITHUB_WORKSPACE/short-tests.sh build-TITANV-LOCALXBAR: runs-on: ubuntu-latest container: - image: tgrogers/gpgpu-sim_regress:volta_update + image: tgrogers/accel-sim_regress:Ubuntu-22.04-cuda-11.7 env: CONFIG: TITANV-LOCALXBAR - CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ - PTXAS_CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ - GPUAPPS_ROOT: /home/runner/gpgpu-sim_simulations/benchmarks + # CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ + # PTXAS_CUDA_INSTALL_PATH: /usr/local/cuda-9.1/ + # GPUAPPS_ROOT: /home/runner/gpgpu-sim_simulations/benchmarks # 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 + - uses: actions/checkout - 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 94% rename from travis.sh rename to short-tests.sh index bbdd19acf..bb1c6695a 100755 --- a/travis.sh +++ b/short-tests.sh @@ -17,8 +17,6 @@ export PATH=$CUDA_INSTALL_PATH/bin:$PATH source ./setup_environment make -j -pip install psutil -rm -rf accel-sim-framework git clone https://github.com/accel-sim/accel-sim-framework.git ./accel-sim-framework/util/job_launching/run_simulations.py -C $CONFIG -B rodinia_2.0-ft -N regress -l local ./accel-sim-framework/util/job_launching/monitor_func_test.py -v -N regress -j procman