-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a789cd
commit e57315c
Showing
3 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Build | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
partial: | ||
required: false | ||
default: true | ||
type: boolean | ||
|
||
jobs: | ||
build: | ||
steps: | ||
- name: Check out vscode-lingua-franca repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 1 | ||
- name: Set up Java 17 | ||
run: | | ||
echo "$JAVA_HOME_17_X64/bin" >> $GITHUB_PATH | ||
echo "org.gradle.java.home=${JAVA_HOME_17_X64//\\/\/}" >> gradle.properties | ||
echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV | ||
shell: bash | ||
- name: Check settings | ||
run: | | ||
echo $(which java) | ||
cat gradle.properties | ||
echo $JAVA_HOME | ||
shell: bash | ||
- name: Build the VS Code extension | ||
run: npm install --ignore-scripts | ||
shell: bash | ||
- name: Install pylint | ||
run: python3 -m pip install pylint | ||
shell: bash | ||
- name: Install pnpm | ||
run: npm i -g pnpm | ||
shell: bash | ||
- name: Setup Rust | ||
uses: ATiltedTree/setup-rust@v1 | ||
with: | ||
rust-version: stable | ||
components: clippy | ||
- name: Install RTI | ||
run: | | ||
cd lingua-franca | ||
.github/actions/install-rti/install.sh | ||
cd .. | ||
shell: bash | ||
if: ${{ runner.os == 'macOS' || runner.os == 'Linux' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters