@@ -2,9 +2,9 @@ name: CMake
22
33on :
44 push :
5- branches : [ "main", "exercises", " dev" ]
5+ branches : ["main", "dev"]
66 pull_request :
7- branches : [ "main", "exercises", " dev" ]
7+ branches : ["main", "dev"]
88
99jobs :
1010 ubuntu-build :
@@ -16,10 +16,10 @@ jobs:
1616 submodules : recursive
1717 - uses : actions/setup-python@v5
1818 with :
19- python-version : ' 3.9'
20- cache : ' pip'
19+ python-version : " 3.9"
20+ cache : " pip"
2121 - run : sudo apt-get -y update
22- - run : sudo apt-get install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev libglew-dev libglfw3-dev libglm-dev libao-dev libmpg123-dev xorg-dev
22+ - run : sudo apt-get install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev libglew-dev libglfw3-dev libglm-dev libao-dev libmpg123-dev xorg-dev libxkbcommon-dev
2323 - run : pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
2424 - run : cmake -B ./build -S . -DATCG_CUDA_BACKEND=Off
2525 - run : cmake --build build
4040 # - run: pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
4141 # - run: cmake -B ./build -S . -DATCG_CUDA_BACKEND=Off -DATCG_HEADLESS=On
4242 # - run: cmake --build build
43-
43+
4444 windows-build :
4545 name : Windows Compile Check
4646 runs-on : windows-latest
5050 submodules : recursive
5151 - uses : actions/setup-python@v5
5252 with :
53- python-version : ' 3.9'
54- cache : ' pip'
53+ python-version : " 3.9"
54+ cache : " pip"
5555 - run : pip install torch torchvision torchaudio
5656 - run : cmake -B ./build -S . -DATCG_CUDA_BACKEND=Off
5757 - run : cmake --build build
7777 # - run: pip3 install torch torchvision torchaudio
7878 # - run: cmake -B ./build -S .
7979 # - run: cmake --build build
80-
80+
8181 # windows-cuda-build:
8282 # name: Windows Compile Check
8383 # runs-on: windows-latest
9595 # cuda: '12.1.0'
9696 # - run: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
9797 # - run: cmake -B ./build -S .
98- # - run: cmake --build build
98+ # - run: cmake --build build
0 commit comments