Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
33 changes: 19 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ on:
pull_request:
branches: [ "main" ]

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
# Default token permissions; the Pages job requests its write permissions explicitly.
permissions:
contents: read
pages: write
id-token: write

concurrency:
group: deploy-${{ github.event_name }}-${{ github.ref }}
Expand All @@ -31,7 +29,7 @@ jobs:
echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/" >> $GITHUB_ENV
# dpkg-query -L openjdk-17-jdk-headless

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -169,7 +167,7 @@ jobs:
find "$BUILD_DIR" -type f -iname "*.apk" ! -name "android-build-*.apk" -exec cp {} "$INSTALL_DIR" \;

- name: Create artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: files_${{ matrix.qtarch }}
path: ${{ github.workspace }}/install/
Expand Down Expand Up @@ -208,15 +206,15 @@ jobs:
sudo apt-get update
sudo apt-get install -y build-essential ninja-build

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true

- name: Load CI versions
run: cat .github/ci-versions.env >> "$GITHUB_ENV"

- uses: mymindstorm/setup-emsdk@v13
- uses: mymindstorm/setup-emsdk@v15
with:
version: ${{ env.WEBASSEMBLY_VERSION }}

Expand Down Expand Up @@ -245,7 +243,7 @@ jobs:

- name: Cache Qt WebAssembly build
id: qt-cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: qt_wasm_lite
key: ${{ matrix.config }}_qt-${{ env.QT_VERSION }}_emcc-${{ env.WEBASSEMBLY_VERSION }}
Expand Down Expand Up @@ -303,7 +301,7 @@ jobs:
run: cmake --build $BUILD_DIR --target install

- name: Create artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: files_${{ matrix.config}}
path: ${{ github.workspace }}/install/
Expand All @@ -314,24 +312,31 @@ jobs:
needs:
- build-android
- build-wasm
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest

steps:
- name: Install dependencies
run: sudo apt-get install -y lftp
run: |
sudo apt-get update
sudo apt-get install -y lftp

- name: Clone repository (only for version number)
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true

- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: files_*
path: ${{github.workspace}}/downloaded

- name: Move into place
Expand Down Expand Up @@ -369,12 +374,12 @@ jobs:
FOLDER: github_page

- name: Create Pages artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with:
path: ${{github.workspace}}/github_page

- name: Setup Pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5

- name: Deploy to GitHub Pages
id: deployment
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ on:
concurrency:
group: linux-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
strategy:
fail-fast: false
matrix:
compiler: [gcc12, clang17, clang19]
build_type: [Release]
build_type: [Debug]
include:
- compiler: gcc12
CC: "/usr/bin/gcc-12"
Expand All @@ -31,7 +34,7 @@ jobs:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
submodules: 'true'

Expand Down Expand Up @@ -89,7 +92,6 @@ jobs:
-DALP_ENABLE_ASSERTS=ON
-DALP_ENABLE_ADDRESS_SANITIZER=ON
-DALP_ENABLE_APP_SHUTDOWN_AFTER_60S=ON
-DCMAKE_BUILD_TYPE=Debug
-DALP_USE_LLVM_LINKER=ON
-B ./build

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/play-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ concurrency:
group: play-store-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
check_release_tag:
if: github.repository == 'AlpineMapsOrg/renderer'
Expand All @@ -19,7 +22,7 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -53,7 +56,7 @@ jobs:
sudo apt-get install -y build-essential ninja-build openjdk-17-jdk
echo "JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/" >> $GITHUB_ENV

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
Expand Down Expand Up @@ -165,7 +168,7 @@ jobs:
find "$PLAY_STORE_DIR" -type f -iname "*.aab"

- name: Create Play Store artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: play_store_aab
path: ${{ github.workspace }}/play-store/
Expand All @@ -180,7 +183,7 @@ jobs:

steps:
- name: Download Play Store artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: play_store_aab
path: ${{ github.workspace }}/play-store
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
concurrency:
group: windows-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
Expand All @@ -18,22 +21,19 @@ jobs:
shell: 'powershell'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
submodules: 'true'

- name: Load CI versions
run: |
Get-Content .github/ci-versions.env | Add-Content $env:GITHUB_ENV

- name: Install ninja-build tool (must be after Qt due PATH changes)
uses: turtlesec-no/get-ninja@main

- name: Make sure MSVC is found when Ninja generator is in use
uses: ilammy/msvc-dev-cmd@v1

- name: Install 7zip
run: choco install 7zip.install
- name: Install tools
run: choco install 7zip.install ninja

- name: Install Mesa
shell: cmd
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
CMAKE_PREFIX_PATH: ${{env.QT_ROOT_DIR}}/lib/cmake
run: >
cmake -G Ninja
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_BUILD_TYPE=Debug
-DALP_ENABLE_POSITIONING=false
-DALP_ENABLE_ASSERTS=ON
-B ./build
Expand Down
Loading