Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
push:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
- macos-latest
steps:
- uses: actions/checkout@v3
- uses: guenchi/setup-scheme@master
with:
implementation: chicken

- name: Build
run: |
chicken-install -s -from-list dependencies.txt
csc -s etc.scm -j etc
csc -s format.scm -j format
csc -static main.scm -o scheme-format

- name: Zip Binary File
run: |
7z a -tzip scheme-format-${{ runner.os }}.zip scheme-format*

- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
path: scheme-format-${{ runner.os }}.zip