mirror of
https://github.com/transistorfet/moa.git
synced 2024-11-28 20:50:13 +00:00
Added pixels to github pages action
This commit is contained in:
parent
e13d67abf4
commit
77fb028c06
19
.github/workflows/deploy-docs.yml
vendored
19
.github/workflows/deploy-docs.yml
vendored
@ -18,12 +18,27 @@ jobs:
|
|||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
target: wasm32-unknown-unknown
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install -y alsa-base libasound2-dev libxkbcommon-dev
|
run: |
|
||||||
|
sudo apt-get install -y alsa-base libasound2-dev libxkbcommon-dev
|
||||||
|
cargo install just
|
||||||
|
|
||||||
|
- name: Make build directory
|
||||||
|
run: mkdir build
|
||||||
|
|
||||||
|
- name: Build Pixels frontend
|
||||||
|
run: |
|
||||||
|
cd emulator/frontends/pixels
|
||||||
|
just build moa-genesis
|
||||||
|
cp -R dist ../../../build
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: cargo doc --document-private-items --workspace
|
run: |
|
||||||
|
cargo doc --document-private-items --workspace
|
||||||
|
mkdir build/doc
|
||||||
|
cp -R target/doc build/doc
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
|
Loading…
Reference in New Issue
Block a user