linux: add CTF for the students who already know linux #256
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
name: Document compilation | |
on: | |
- push | |
- pull_request | |
jobs: | |
compilation: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
container: ghcr.io/langchr86/docmake:latest | |
env: | |
DISPLAY: ":99" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "start xvfb as a workaround for drawio-desktop does not work without an X server" | |
run: Xvfb :99 & | |
- name: configure and build | |
run: | | |
mkdir build | |
cmake -S . -B build -DJS_WITH_CODE=OFF | |
cmake --build build | |
- name: create zip archive | |
run: | | |
cmake --build build --target jumpstart_archive | |
- name: create release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
build/topics/jumpstart.zip |