-
Notifications
You must be signed in to change notification settings - Fork 0
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
9 changed files
with
1,431 additions
and
841 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,57 @@ | ||
on: | ||
- push | ||
|
||
jobs: | ||
build-docs: | ||
runs-on: ubuntu-22.04 | ||
name: Build and deploy docs | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Install nasm | ||
run: sudo apt-get install nasm | ||
- name: Install pandoc | ||
run: | | ||
curl -Ls https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-1-amd64.deb -o pandoc.deb | ||
sudo dpkg -i pandoc.deb | ||
- name: Install Racket | ||
uses: Bogdanp/[email protected] | ||
with: | ||
architecture: 'x64' | ||
distribution: 'full' | ||
variant: 'CS' | ||
version: '8.14' | ||
- name: Version info | ||
run: | | ||
nasm --version | ||
gcc --version | ||
- name: Install a86 package | ||
run: | | ||
raco pkg install -D ../a86/ | ||
- name: Render documentation | ||
run: | | ||
find . -name '*scrbl' | ||
raco scribble --htmls \ | ||
++xref-in setup/xref load-collections-xref \ | ||
--redirect-main http://docs.racket-lang.org/ \ | ||
--dest out/ \ | ||
a86/scribblings/a86.scrbl | ||
- name: Archive documentation | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
name: github-pages | ||
path: out/a86 | ||
deploy: | ||
needs: build-docs | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
pages: write | ||
id-token: write | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- name: Deploy to GitHub pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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 |
---|---|---|
|
@@ -15,10 +15,6 @@ jobs: | |
uses: actions/checkout@main | ||
- name: Install nasm | ||
run: sudo apt-get install nasm | ||
- name: Install pandoc | ||
run: | | ||
curl -Ls https://github.com/jgm/pandoc/releases/download/2.11.2/pandoc-2.11.2-1-amd64.deb -o pandoc.deb | ||
sudo dpkg -i pandoc.deb | ||
- name: Install Racket | ||
uses: Bogdanp/[email protected] | ||
with: | ||
|
@@ -32,7 +28,7 @@ jobs: | |
gcc --version | ||
- name: Install a86 package | ||
run: | | ||
raco pkg install ../a86/ | ||
raco pkg install -D ../a86/ | ||
- name: Install langs package | ||
run: | | ||
# This *should* use the locally installed a86 | ||
|
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
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
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
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#lang racket | ||
(require "ast.rkt" | ||
"registers.rkt" | ||
"interp.rkt" | ||
"printer.rkt") | ||
(provide (all-from-out "ast.rkt" | ||
"registers.rkt" | ||
"interp.rkt" | ||
"printer.rkt")) |
Oops, something went wrong.