From 7a5e88544e2575121e7a1e8cb8a28a950d771f3b Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Wed, 6 Sep 2023 22:09:02 -0700 Subject: [PATCH 1/3] Use the latest release, not `master`, for checks --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebb3c70f..4557b2a9 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@ci-stuff + 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 }} From 00ccbb092f756f5ccd9739f30251ab8d766e4411 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Fri, 8 Sep 2023 00:04:15 -0700 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4557b2a9..579d0a34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: find-latest-release: - uses: lf-lang/lingua-franca/.github/workflows/latest-release.yml@ci-stuff + uses: lf-lang/lingua-franca/.github/workflows/latest-release.yml@master check-compile: runs-on: ubuntu-latest From 527eb9f55ea556c59046085bb217dc3c5d6075a8 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Fri, 8 Sep 2023 11:58:25 -0700 Subject: [PATCH 3/3] Update setup-env.bash --- utils/scripts/setup-env.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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