From 841eee3990a69215f96178dc5314a04d628c2be8 Mon Sep 17 00:00:00 2001 From: Evan Burkey Date: Wed, 10 Apr 2024 17:37:29 -0700 Subject: [PATCH] Add parsing docs --- .gitea/workflows/{deploy.yaml => docs.yaml} | 22 ++---------------- .gitea/workflows/test.yaml | 25 +++++++++++++++++++++ mkdocs.yml | 1 + 3 files changed, 28 insertions(+), 20 deletions(-) rename .gitea/workflows/{deploy.yaml => docs.yaml} (69%) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/docs.yaml similarity index 69% rename from .gitea/workflows/deploy.yaml rename to .gitea/workflows/docs.yaml index 4503962..5644c70 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/docs.yaml @@ -1,28 +1,10 @@ --- -name: On Master Push +name: Deploy Docs on: push: - branch: + branches: - master jobs: - test: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - with: - submodules: recursive - - name: Install dependencies - run: | - sudo apt-get update - sudo apt-get install -y libbsd-dev cmake build-essential - - name: Build and test - run: | - mkdir build - cd build - cmake .. - make - ./tests docs: runs-on: ubuntu-latest timeout-minutes: 5 diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..6ac1e9f --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,25 @@ +--- +name: Test +on: + push: + branches: + - master +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + submodules: recursive + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y libbsd-dev cmake build-essential + - name: Build and test + run: | + mkdir build + cd build + cmake .. + make + ./tests diff --git a/mkdocs.yml b/mkdocs.yml index 7717dd6..41518dc 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -12,6 +12,7 @@ nav: - 'Linked List': 'linkedlist.md' - 'Math': 'math.md' - 'macOS': 'macos.md' + - 'Parsing': 'parsing.md' - 'Set': 'set.md' - 'Stack': 'stack.md' - 'String': 'string.md'