diff --git a/.github/workflows/cpp-tests.yml b/.github/workflows/cpp-tests.yml index 9a523ace..3ec79d90 100644 --- a/.github/workflows/cpp-tests.yml +++ b/.github/workflows/cpp-tests.yml @@ -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 diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ba68ca42..1c09b4f1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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 @@ -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 @@ -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