fix: test install mmdet with updated c++ compiler #4
Workflow file for this run
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: basic install | |
| on: [push, pull_request] | |
| jobs: | |
| docs_to_gh-pages: | |
| runs-on: ubuntu-latest | |
| name: basic install of compressai-vision (torch cpu) | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Setup Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.8' | |
| - name: switch to gcc-14 on linux | |
| run: | | |
| sudo apt install gcc-14 g++-14 | |
| sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 --slave /usr/bin/g++ g++ /usr/bin/g++-14 --slave /usr/bin/gcov gcov /usr/bin/gcov-14 | |
| sudo update-alternatives --set gcc /usr/bin/gcc-14 | |
| - name: install dependencies pip | |
| run: | | |
| python3 -m pip install -U pip | |
| bash scripts/install.sh --cpu --no-weights |