Skip to content

Merge remote-tracking branch 'origin/master' #8

Merge remote-tracking branch 'origin/master'

Merge remote-tracking branch 'origin/master' #8

Workflow file for this run

name: Build and Run Tests
on:
push:
branches:
- master
jobs:
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up CMake
run: |
mkdir -p cmake-build-debug
cd cmake-build-debug
cmake ..
- name: Build project
run: cmake --build cmake-build-debug --config Debug
- name: Copy scripts
run: |
cp ./Scripts/run_tests.sh cmake-build-debug/
cp ./Scripts/test_all_elf.sh cmake-build-debug/
- name: Set up environment
run: |
chmod +x cmake-build-debug/run_tests.sh
chmod +x cmake-build-debug/test_all_elf.sh
- name: Run tests
working-directory: cmake-build-debug
run: ./run_tests.sh