-
Notifications
You must be signed in to change notification settings - Fork 94
38 lines (31 loc) · 920 Bytes
/
verify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Verify Build
on:
pull_request:
push:
branches:
- asciidoc
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 0: Install build requirements
- name: Install Build Requirements
run: sudo apt update && sudo apt install -y python3-sympy
# Step 1: Checkout the repository
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'recursive'
# Step 2: Pull the latest RISC-V Docs container image
- name: Pull Container
run: docker pull riscvintl/riscv-docs-base-container-image:latest
# Step 3: Build Files
- name: Build Files
run: cd ./build && make
# Step 4: Upload the built PDF files as a single artifact
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: Build Artifacts
path: ${{ github.workspace }}/build/*.pdf
retention-days: 30