Skip to content
Merged
Show file tree
Hide file tree
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
22 changes: 12 additions & 10 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,24 @@ on:

jobs:
build-and-test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- name: Checkout code
- name: Checkout Code
uses: actions/checkout@v7

- name: Install Opendylan
- name: Install Open Dylan
uses: dylan-lang/install-opendylan@v3

- name: Download dependencies
run: dylan update
- name: Install Dependencies
run: deft update

- name: Build tests
run: dylan build base64-test-suite

- name: Run tests
run: _build/bin/base64-test-suite --progress none --report surefire > _build/TEST-base64.xml
- name: Build and Run Tests
run: |
mkdir -p _build # can't redirect without it
deft test -- --progress none --report surefire > _build/TEST-base64.xml

- name: Publish Test Report
if: success() || failure()
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,30 +27,30 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7

- name: Check links
- name: Check Links
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/fraya/dylan-docs
options: -v ${{ github.workspace }}/documentation:/docs
run: make linkcheck

- name: Build docs with Furo theme
- name: Build Docs with Furo Theme
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/fraya/dylan-docs
options: -v ${{ github.workspace }}/documentation:/docs
run: make html

- name: Upload html artifact
- name: Upload HTML Artifact
uses: actions/upload-artifact@v7
with:
name: base64-doc-html
path: documentation/build/html/

- name: Bypassing Jekyll on GH Pages
- name: Bypass Jekyll on GitHub Pages
run: sudo touch documentation/build/html/.nojekyll

- name: Deploy documents to GH pages
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: documentation/build/html
Loading