File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ build :
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ os :
13+ - windows-latest
14+ - ubuntu-latest
15+ - macos-latest
16+ steps :
17+ - uses : actions/checkout@master
18+ - uses : aminya/setup-scheme@master
19+ with :
20+ implementation : chicken
21+
22+ - name : Build
23+ run : |
24+ csc -s etc.scm -j etc
25+ csc -s format.scm -j format
26+ csc -static main.scm -o scheme-format
27+
28+ - name : Zip Binary File
29+ if : " !${{ contains(matrix.os, 'windows') }}"
30+ run : |
31+ zip -9 -j scheme-format-${{ runner.os }}.zip scheme-format
32+
33+ - name : Zip Binary Windows
34+ if : ${{ contains(matrix.os, 'windows') }}
35+ run : |
36+ zip -9 -j scheme-format-${{ runner.os }}.zip scheme-format.exe
37+
38+ - name : Upload Artifact
39+ uses : actions/upload-artifact@v2
40+ with :
41+ path : scheme-format-${{ runner.os }}.zip
You can’t perform that action at this time.
0 commit comments