-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
1 changed file
with
132 additions
and
0 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,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 |