forked from pkamenarsky/formulae
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
0b4e577
commit 35fe21d
Showing
5 changed files
with
78 additions
and
24 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,36 @@ | ||
name: SML/NJ Build | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install deps (macOS) | ||
if: ${{ matrix.os == 'macos-latest' }} | ||
run: | | ||
brew install basictex smlnj | ||
dvipdfmx --version | ||
sml @SMLversion | ||
- name: Gen DVI | ||
run: sml CI.sml | ||
- name: Gen PDF | ||
run: | | ||
dvipdfmx test1.dvi | ||
dvipdfmx test2.dvi | ||
- name: Upload DVI & PDF | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: dvi-pdf | ||
path: | | ||
*.dvi | ||
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,10 @@ | ||
(* load proj *) | ||
use "edit.m"; | ||
U "all"; | ||
|
||
(* gen dvi *) | ||
test1 (); | ||
test2 (); | ||
|
||
(* exit REPL *) | ||
exit (); |
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
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