Skip to content

Commit a6d95ad

Browse files
committed
install dependencies
1 parent b21ea58 commit a6d95ad

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
# well on Windows or Mac. You can convert this to a matrix build if you need
1313
# cross-platform coverage.
1414
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-20.04
1616

1717
strategy:
1818
matrix:
@@ -21,6 +21,12 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v2
2323

24+
- name: Install ppa
25+
run: sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
26+
27+
- name: Install dependencies
28+
run: sudo apt-get install g++-10
29+
2430
- name: Create Build Environment
2531
# Some projects don't allow in-source building, so create a separate build directory
2632
# We'll use this as our working directory for all subsequent commands

0 commit comments

Comments
 (0)