Skip to content

Commit

Permalink
fix: ci use fixed runner os
Browse files Browse the repository at this point in the history
  • Loading branch information
hegerdes authored Jun 26, 2024
1 parent ff33720 commit 8055d29
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,31 @@ on:

jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: get-dependencies
- name: clone
uses: actions/checkout@v4

- name: install dependencies
run: |
sudo apt update
sudo apt install freeglut3 freeglut3-dev libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev build-essential libgl1-mesa-dev g++ make cmake libsdl2-dev libjpeg-dev qttools5-dev-tools qtbase5-dev qtmultimedia5-dev libboost-all-dev qt4-qmake -y
apt-get update
apt-get install --yes freeglut3 freeglut3-dev libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev build-essential libgl1-mesa-dev g++ make cmake libsdl2-dev libjpeg-dev qttools5-dev-tools qtbase5-dev qtmultimedia5-dev libboost-all-dev qt5-qmake
- name: cmake
run: |
mkdir build
cd build
cmake ..
- name: make
run: |
cd build
make -j4
- name: qmake
run: |
cd qtserver
mkdir build
cd build
make -j$(nproc)
ls -la
#- name: qmake
# run: |
# qmake ..
# make
#- name: make check
Expand Down

0 comments on commit 8055d29

Please sign in to comment.