Skip to content

Commit

Permalink
Add binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Oct 30, 2024
1 parent 7e71ae8 commit 06b68b7
Showing 1 changed file with 132 additions and 0 deletions.
132 changes: 132 additions & 0 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
name: Binaries

on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- '**.md'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
LISP_VER: 2.4.2

jobs:
badge:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: cheeze2000/setup-sbcl@main
with:
version: ${{ env.LISP_VER }}

- uses: actions/checkout@v4

- uses: cl-qob/setup-qob@master
with:
version: 'snapshot'

- name: Set git config
run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: Generate SVG badges (system)
run: make generate_badges_system

- name: Push generated badges (system)
continue-on-error: true
run: |
git pull
git add .
git commit -m "Update SVG badges - system"
git push
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targets:
#- linux-arm64
- linux-x64

steps:
- uses: cheeze2000/setup-sbcl@main
with:
version: ${{ env.LISP_VER }}

- uses: actions/checkout@v4

- name: Extract tar
run: |
tar -xvzf ${{ matrix.targets }}.tar.gz -C ./bin/
- name: Prepare Qob (Unix)
run: |
chmod -R 777 .github/scripts/
.github/scripts/setup-qob
- name: Test
run: qob info

macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
targets:
#- macos-arm64
- macos-x64

steps:
- uses: cheeze2000/setup-sbcl@main
with:
version: ${{ env.LISP_VER }}

- uses: actions/checkout@v4

- name: Extract tar
run: |
tar -xvzf ${{ matrix.targets }}.tar.gz -C ./bin/
- name: Prepare Qob (Unix)
run: |
chmod -R 777 .github/scripts/
.github/scripts/setup-qob
- name: Test
run: qob info

windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
targets:
#- win-arm64
- win-x64

steps:
- uses: cheeze2000/setup-sbcl@main
with:
version: ${{ env.LISP_VER }}

- uses: actions/checkout@v4

- name: Extract zip
run: |
unzip ${{ matrix.targets }}.zip -d ./bin/
- name: Prepare Qob (Windows)
run: .github/scripts/setup-qob.ps1

- name: Test
run: qob info

0 comments on commit 06b68b7

Please sign in to comment.