From 6ba274956d7db48367883316c609d65901b6fc14 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Fri, 21 Jan 2022 21:03:16 -0800 Subject: [PATCH 1/2] ci: build binaries and upload them --- .github/workflows/ci.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..c1c5b1f --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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@master + - uses: aminya/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 \ No newline at end of file From 10b397f91374a18fa98bf4e95a5a54ca0ed0dda5 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sat, 6 Aug 2022 16:39:22 -0700 Subject: [PATCH 2/2] ci: use the original setup-scheme https://github.com/guenchi/setup-scheme/pull/14 is merged --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c1c5b1f..ce1319a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,8 +14,8 @@ jobs: - ubuntu-latest - macos-latest steps: - - uses: actions/checkout@master - - uses: aminya/setup-scheme@master + - uses: actions/checkout@v3 + - uses: guenchi/setup-scheme@master with: implementation: chicken @@ -33,4 +33,4 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v2 with: - path: scheme-format-${{ runner.os }}.zip \ No newline at end of file + path: scheme-format-${{ runner.os }}.zip