-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add github action to generate system calls table
For start it will be manual job, to automate later.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 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,43 @@ | ||
name: Generate system calls HTML table | ||
|
||
# | ||
# for now it will be manual | ||
# | ||
# on: | ||
# push: | ||
# branches: [ "master" ] | ||
|
||
|
||
jobs: | ||
update-tables: | ||
permissions: | ||
contents: read | ||
id-token: write | ||
pages: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout syscalls-table | ||
uses: actions/checkout@v4 | ||
with: | ||
path: syscalls-table/ | ||
ref: master | ||
|
||
- name: Install Python package | ||
run: | | ||
pip install . | ||
- name: Generate system calls HTML | ||
run: | | ||
python3 examples/generate-html-table.py > syscalls.html | ||
- name: Configure GitHub Pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-pages-artifact@v2 | ||
with: | ||
path: syscalls.html | ||
|
||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v2 |