-
Notifications
You must be signed in to change notification settings - Fork 1
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
e5ddf49
commit 5e41ad3
Showing
5 changed files
with
1,153 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build toolchain | ||
description: Installs Dependencies and Compiles Lingo | ||
|
||
inputs: | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
- name: Integration Test | ||
run: | | ||
# setting java17 | ||
ls -alh /usr/lib/jvm/ | ||
# export JAVA_HOME=/usr/lib/jvm/java-17-temurin-amd64 | ||
# building lingo | ||
cargo b --release | ||
# installing lingua-franca tests | ||
git clone https://github.com/lf-lang/lingua-franca.git ./lingua-franca | ||
# installing lfc | ||
curl -Ls https://install.lf-lang.org | bash -s cli | ||
export PATH="$HOME/.local/bin:$PATH" | ||
# copying Lingo.toml | ||
# cp test/Lingo-Cpp.toml ./lingua-franca/test/Lingo.toml | ||
# cd ./lingua-franca/test/Cpp | ||
# ../../../target/release/lingo build | ||
shell: bash |
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,24 @@ | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
name: Test Lingo | ||
jobs: | ||
setup: | ||
name: Setup | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setuo | ||
uses: ./.github/actions/environment | ||
- name: Integration Test | ||
run: | | ||
# copying Lingo.toml | ||
cp test/Lingo-Cpp.toml ./lingua-franca/test/Lingo.toml | ||
cd ./lingua-franca/test/Cpp | ||
../../../target/release/lingo build | ||
shell: bash | ||
|
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.