Skip to content

Commit eaa11b4

Browse files
committed
install boost in CI
1 parent 1a692ce commit eaa11b4

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/cpp-tests.yml

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
repository: lf-lang/lingua-franca
3030
submodules: true
3131
ref: ${{ inputs.compiler-ref }}
32+
- name: Install boost on Ubuntu
33+
run: |
34+
sudo apt-get update
35+
sudo apt-get install -y boost boost-dev
36+
if: matrix.platform == 'ubuntu-latest'
3237
- name: Set cpp runtime version
3338
run: |
3439
echo ${{ inputs.runtime-ref }} > org.lflang/src/org/lflang/generator/cpp/cpp-runtime-version.txt

.github/workflows/main.yaml

+7-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ubuntu-latest, windows-latest, macos-latest]
17+
os: [ubuntu-latest]
1818

1919
steps:
2020
- uses: actions/checkout@v1
@@ -23,6 +23,11 @@ jobs:
2323
sudo apt-get update
2424
sudo apt-get install -y clang-tidy
2525
if: matrix.os == 'ubuntu-latest'
26+
- name: Install boost on Ubuntu
27+
run: |
28+
sudo apt-get update
29+
sudo apt-get install -y libboost-all-dev
30+
if: matrix.os == 'ubuntu-latest'
2631
- name: configure
2732
run: |
2833
mkdir build
@@ -35,7 +40,7 @@ jobs:
3540
cmake --build build --target examples
3641

3742
lf-tests-pull-request:
38-
uses: lf-lang/lingua-franca/.github/workflows/cpp-tests.yml@master
43+
uses: lf-lang/lingua-franca/.github/workflows/cpp-tests.yml@cpp-boost
3944
with:
4045
runtime-ref: ${{github.ref}}
4146
compiler-ref: master

0 commit comments

Comments
 (0)