Building with run_tests

This commit is contained in:
Caleb Herpin 2021-07-28 09:17:25 -05:00
parent b088f61d3a
commit 758658ffb5

View File

@ -167,22 +167,22 @@ jobs:
run: |
cd share/trick/pymods/trick/
python3 -m venv .venv && . .venv/bin/activate && pip3 install -r requirements.txt
- name: Build trick
run: |
export MAKEFLAGS=-j`nproc`
./configure
make
- name: Build Cannon Sim
run: |
cd trick_sims/Cannon/SIM_cannon_numeric
ls -la
$TRICK_HOME/bin/trick-CP
ls -la
env:
TRICK_HOME: "${{ github.workspace }}"
# - name: Build trick
# run: |
# export MAKEFLAGS=-j`nproc`
# ./configure
# make
# - name: Build Cannon Sim
# run: |
# cd trick_sims/Cannon/SIM_cannon_numeric
# ls -la
# $TRICK_HOME/bin/trick-CP
# ls -la
# env:
# TRICK_HOME: "${{ github.workspace }}"
- name: Run Civet Tests
run: |
trick_sims/Cannon/SIM_cannon_numeric/S_main_Linux_9.3_x86_64.exe trick_sims/Cannon/SIM_cannon_numeric/RUN_test/input.py
# trick_sims/Cannon/SIM_cannon_numeric/S_main_Linux_9.3_x86_64.exe trick_sims/Cannon/SIM_cannon_numeric/RUN_test/input.py
cd share/trick/pymods/trick/
. .venv/bin/activate
./run_tests.py