Skip to content

Commit 56ede7e

Browse files
committed
Should fix CI
1 parent 3c60414 commit 56ede7e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/c-cpp.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,22 @@ on:
99
jobs:
1010
build:
1111

12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313

1414
steps:
1515
- name: update
16-
run: sudo apt install gcc-11 libstdc++-11-dev
16+
if: ${{ env.ACT }}
17+
run: sudo apt update && sudo apt install python3 && sudo apt install cmake
18+
- name: Install pip3
19+
if: ${{ env.ACT }}
20+
run: curl https://bootstrap.pypa.io/get-pip.py >get-pip.py && python3 get-pip.py
1721
- name: Install Conan
1822
id: conan
1923
uses: turtlebrowser/get-conan@main
2024
- name: Conan version
2125
run: echo "${{ steps.conan.outputs.version }}"
2226
- uses: actions/checkout@v2
23-
- name: gcc version
24-
run: g++11 -v
2527
- name: make test
26-
run: make test CC=g++11
28+
run: make test
29+
30+
# Note: the steps with `if: ${{ env.ACT }}` are for local setup only.

0 commit comments

Comments
 (0)