refactor: use canonical name names for first_address(i.e. head) and DataType(i.e. Type) #34
This file contains hidden or 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: algorithms_and_data_structures | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: build_memory_allocator | |
| run: | | |
| make -C src/memory_cell/ | |
| - name: build_type | |
| run: | | |
| make -C src/type/ | |
| - name: build_array | |
| run: | | |
| make -C src/array/ | |
| - name: build_linked_list | |
| run: | | |
| make -C src/linked_list/ | |
| test: | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: create_lib_out_put | |
| run: mkdir -p lib/ | |
| - name: test_memory_allocator | |
| run: | | |
| make -C src/memory_cell/ test_program | |
| echo "Running tests" | |
| src/memory_cell/test_program | |
| - name: test_type | |
| run: | | |
| echo "MISSING TESTS!!!" | |
| - name: test_array | |
| run: | | |
| make -C src/array/ test_program | |
| echo "Running tests" | |
| src/array/test_program | |
| - name: test_linked_list | |
| run: | | |
| make -C src/linked_list/ test_program | |
| echo "Running tests" | |
| src/linked_list/test_program |