diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebb3c70f..579d0a34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,12 @@ on: - 'releases/*' jobs: + find-latest-release: + uses: lf-lang/lingua-franca/.github/workflows/latest-release.yml@master + check-compile: runs-on: ubuntu-latest + needs: find-latest-release steps: - uses: actions/checkout@v3 - name: Set up Java 17 @@ -28,8 +32,11 @@ jobs: check_mode: "compile" no_compile_flag: false exclude_dirs: '["failing", "experiments"]' + compiler_ref: ${{ needs.find-latest-release.outputs.ref }} + check-format: runs-on: ubuntu-latest + needs: find-latest-release steps: - uses: actions/checkout@v3 - name: Set up Java 17 @@ -41,3 +48,4 @@ jobs: with: check_mode: "format" exclude_dirs: '["failing", "experiments"]' + compiler_ref: ${{ needs.find-latest-release.outputs.ref }} diff --git a/utils/scripts/setup-env.bash b/utils/scripts/setup-env.bash index 58a802ae..0eeee5a5 100644 --- a/utils/scripts/setup-env.bash +++ b/utils/scripts/setup-env.bash @@ -30,13 +30,13 @@ done # Install dependencies sudo apt-get update -## Setup C, C++, Python, Rust, protobuf, gRPC +## Setup C, C++, Python, Rust, protobuf, gRPC, gnuplot sudo apt-get install --assume-yes \ build-essential \ python3 python3-dev python3-pip \ rustc cargo \ libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf \ - protobuf-compiler-grpc libgrpc-dev libgrpc++-dev + protobuf-compiler-grpc libgrpc-dev libgrpc++-dev gnuplot python3 -m pip install --upgrade pip # Install python dependencies and