File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CMake Continuo Integration
1+ name : CMake Continuous Integration
22
33on :
44 push :
55 branches : [ main ]
6-
76 pull_request :
87 branches : [ main ]
98
1413jobs :
1514
1615 build-linux-x64 :
17-
1816 runs-on : ubuntu-latest
1917
2018 steps :
2119 - name : Checkout Github Actions
22- uses : actions/checkout@v2
20+ uses : actions/checkout@v4
2321
2422 - name : Update repository
2523 run : sudo apt update
2624
2725 - name : Install gcc 14
28- run : sudo apt install gcc-14 g++-14
26+ run : sudo apt install -y gcc-14 g++-14
2927
3028 - name : View version gcc 14
3129 run : gcc-14 --version
3533 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
3634 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
3735
38- # - name: Configure CMake
39- # run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
36+ - name : Configure CMake
37+ run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
4038
4139 - name : Build
4240 run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
@@ -46,12 +44,11 @@ jobs:
4644 run : ctest -C ${{env.BUILD_TYPE}}
4745
4846 build-windows-x64 :
49-
5047 runs-on : windows-latest
5148
5249 steps :
5350 - name : Checkout Github Actions
54- uses : actions/checkout@v2
51+ uses : actions/checkout@v4
5552
5653 - name : Configure CMake
5754 run : cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
You can’t perform that action at this time.
0 commit comments