-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
46 changed files
with
3,176 additions
and
986 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 |
---|---|---|
|
@@ -110,12 +110,29 @@ jobs: | |
- '8' | ||
testC: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
scala: | ||
- '2.13.15' | ||
java: | ||
- '8' | ||
steps: | ||
- uses: "actions/[email protected]" | ||
- name: "test runtime code" | ||
run: | | ||
cd c_runtime | ||
make && git diff --quiet | ||
./test | ||
cd .. | ||
- name: "build assembly" | ||
run: "sbt \"++${{matrix.scala}}; cli/assembly\"" | ||
- name: "generate c code" | ||
run: "./bosatsuj transpile --input_dir test_workspace/ --package_root test_workspace/ --lang c --outdir c_out" | ||
- name: "compile generated c code" | ||
run: | | ||
cp c_runtime/* c_out | ||
cd c_out | ||
gcc -c output.c | ||
timeout-minutes: 30 | ||
name: ci | ||
on: | ||
|
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 |
---|---|---|
|
@@ -45,4 +45,6 @@ node_modules/ | |
.bloop | ||
project/metals.sbt | ||
project/project/* | ||
jsui/bosatsu_ui.js | ||
jsui/bosatsu_ui.js | ||
|
||
c_runtime/*.o |
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.