Added Remove Nth Node From End of List #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |