Feat/unset builtin #380
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: CI Pipeline | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| norminette-check: | |
| name: Norminette Style Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Setup Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.8' | |
| - name: Install Norminette | |
| run: | | |
| sudo apt-get install -y build-essential | |
| python3 -m pip install --upgrade pip setuptools | |
| python3 -m pip install norminette | |
| - name: Run Norminette | |
| run: | | |
| make norminette | |
| cppcheck: | |
| name: Static Analysis - Cppcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Install cppcheck | |
| run: sudo apt-get install -y cppcheck build-essential | |
| - name: Run cppcheck | |
| run: make cppcheck | |
| clang-analyze: | |
| name: Static Analysis - Clang Static Analyzer | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Install clang | |
| run: sudo apt-get install -y clang build-essential | |
| - name: Run Clang Static Analyzer | |
| run: make clang_analyzer | |
| build: | |
| name: Build Project | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install readline | |
| run: sudo apt-get update && sudo apt-get install -y libreadline-dev | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: true | |
| - name: Install build dependencies | |
| run: sudo apt-get install -y build-essential | |
| - name: Build the project | |
| run: | | |
| make | |
| make fclean | |
| tests-environnement: | |
| name: Tests environments | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| - name: Make test script executable | |
| run: chmod +x e2e/launch_environment_tests.test.sh | |
| - name: Run test script | |
| run: ./e2e/launch_environment_tests.test.sh |