diff options
Diffstat (limited to 'libs/archive/.github')
| -rw-r--r-- | libs/archive/.github/workflows/build.yml | 39 | ||||
| -rw-r--r-- | libs/archive/.github/workflows/linting.yml | 16 |
2 files changed, 55 insertions, 0 deletions
diff --git a/libs/archive/.github/workflows/build.yml b/libs/archive/.github/workflows/build.yml new file mode 100644 index 0000000..f476ad1 --- /dev/null +++ b/libs/archive/.github/workflows/build.yml @@ -0,0 +1,39 @@ +name: Build Archive + +on: + push: + branches: [master] + pull_request: + types: [opened, synchronize, reopened] + +env: + VCPKG_BINARY_SOURCES: clear;x-azblob,${{ vars.AZ_BLOB_VCPKG_URL }},${{ secrets.AZ_BLOB_SAS }},readwrite + +jobs: + build: + runs-on: windows-2022 + steps: + # set VCPKG Root + - name: "Set environmental variables" + shell: bash + run: | + echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV + + - uses: actions/checkout@v4 + + - name: Configure Archive build + shell: pwsh + run: | + cmake --preset vs2022-windows-shared "-DCMAKE_INSTALL_PREFIX=install" + + - name: Build Archive + run: cmake --build vsbuild --config RelWithDebInfo + + - name: Install Archive + run: cmake --install vsbuild --config RelWithDebInfo + + - name: Upload Archive artifact + uses: actions/upload-artifact@master + with: + name: archive + path: ./install diff --git a/libs/archive/.github/workflows/linting.yml b/libs/archive/.github/workflows/linting.yml new file mode 100644 index 0000000..22eb21a --- /dev/null +++ b/libs/archive/.github/workflows/linting.yml @@ -0,0 +1,16 @@ +name: Lint Archive + +on: + push: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Check format + uses: ModOrganizer2/check-formatting-action@master + with: + check-path: "." |
