Skip to content

Commit

Permalink
Try building on windows and upload artifacts/release zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Jan 30, 2024
1 parent 31d96d6 commit 79661d6
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
defaults:
run:
shell: bash
steps:
- name: Restore cache
id: cache-ql
Expand All @@ -17,7 +24,6 @@ jobs:
- name: Install Roswell
env:
LISP: sbcl-bin/2.4.0
ROSWELL_INSTALL_DIR: /usr
run: |
curl -L https://raw.githubusercontent.com/roswell/roswell/master/scripts/install-for-ci.sh | sh
echo "$HOME/.roswell/bin" >> $GITHUB_PATH
Expand All @@ -40,8 +46,19 @@ jobs:
--eval "(push \"$GITHUB_WORKSPACE\" ql:*local-project-directories*)" \
--eval '(asdf:make :trial-examples)' \
--non-interactive
- name: Release
uses: softprops/action-gh-release@v1
- name: Make release ZIP
run: |
cd examples/bin/ && zip -r /tmp/trial-examples-{{ runner.os }}.zip *
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: trial-examples-{{ runner.os }}
path: /tmp/trial-examples-{{ runner.os }}.zip
- name: Create release
id: create_release
uses: ncipollo/release-action@v1
continue-on-error: true
with:
append_body: true
files: trial-examples/bin/
allowUpdates: true
name: Release ${{ github.ref }}
artifacts: /tmp/trial-examples-{{ runner.os }}.zip

0 comments on commit 79661d6

Please sign in to comment.