diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 000000000..0ab2ddcff --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,32 @@ +name: Build and Test + +on: + push: + branches: [ master, develop ] + pull_request: + branches: [ master, develop ] + +jobs: + build-and-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Show current Git branch + run: git branch --show-current + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y gcc g++ cmake golang uuid-dev + + - name: Run pre-build script + run: | + chmod +x ./build_clean_linux64.sh + ./build_clean_linux64.sh + shell: bash + + - name: Run unit tests + run: ./build_linux64/Output/amc_unittest diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..254143f09 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,36 @@ +name: Deploy static site to GitHub Pages + +on: + push: + branches: [ "develop" ] # or "main" – pick your branch + paths: + - "Documentation/Website/**" + - ".github/workflows/deploy.yml" + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: true + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + # Upload your static site folder directly + - uses: actions/upload-pages-artifact@v3 + with: + path: Documentation/Website + + # Publish to Pages + - id: deployment + uses: actions/deploy-pages@v4 diff --git a/.gitmodules b/.gitmodules index 3bcbe0bf1..873742fc2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -43,3 +43,12 @@ [submodule "submodules/libjpeg-turbo"] path = submodules/libjpeg-turbo url = https://github.com/libjpeg-turbo/libjpeg-turbo.git +[submodule "submodules/TinyJPEG"] + path = submodules/TinyJPEG + url = https://github.com/serge-rgb/TinyJPEG.git +[submodule "submodules/stb"] + path = submodules/stb + url = https://github.com/nothings/stb.git +[submodule "submodules/swagger-ui"] + path = submodules/swagger-ui + url = https://github.com/swagger-api/swagger-ui.git diff --git a/ACT/LibMC.xml b/ACT/LibMC.xml index cfe38f76c..4096d0a73 100644 --- a/ACT/LibMC.xml +++ b/ACT/LibMC.xml @@ -658,10 +658,54 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -682,6 +726,10 @@