Skip to content

Commit

Permalink
install boost in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnrd committed Jul 19, 2022
1 parent 1a692ce commit 50bd5df
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cpp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ jobs:
repository: lf-lang/lingua-franca
submodules: true
ref: ${{ inputs.compiler-ref }}
- name: Install boost on Ubuntu
run: |
sudo apt-get update
sudo apt-get install -y boost boost-dev
if: matrix.platform == 'ubuntu-latest'
- name: Set cpp runtime version
run: |
echo ${{ inputs.runtime-ref }} > org.lflang/src/org/lflang/generator/cpp/cpp-runtime-version.txt
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v1
Expand All @@ -23,6 +23,11 @@ jobs:
sudo apt-get update
sudo apt-get install -y clang-tidy
if: matrix.os == 'ubuntu-latest'
- name: Install boost on Ubuntu
run: |
sudo apt-get update
sudo apt-get install -y libboost-all-dev
if: matrix.platform == 'ubuntu-latest'
- name: configure
run: |
mkdir build
Expand All @@ -35,7 +40,7 @@ jobs:
cmake --build build --target examples

lf-tests-pull-request:
uses: lf-lang/lingua-franca/.github/workflows/cpp-tests.yml@master
uses: lf-lang/lingua-franca/.github/workflows/cpp-tests.yml@cpp-boost
with:
runtime-ref: ${{github.ref}}
compiler-ref: master
Expand Down

0 comments on commit 50bd5df

Please sign in to comment.